Skip to content

2.0.0-alpha4

Pre-release
Pre-release
Compare
Choose a tag to compare
@tannerlinsley tannerlinsley released this 30 Sep 17:57

Alpha 4 contains much needed improvements and features. Here's an awesome list!

  • A new core scale class and a hook-able scale lifecycle provides a base for our built in scales, and make it 100x easier to build your own scales.
  • Scales are no longer responsible for element-specific functionality, and simply extend the base scale class. This makes some of them only a couple of lines long!
  • Time Scale! Just include moment.js before Chart.js and gain access to the very powerful time scale. It's automagic right out of the box, works with any time/date format (Date, String, Moment), and comes with powerful options for customization.
  • Better support for Log scale and mixing scale types.
  • Scale labels are now built-in
  • Responsive module has been completely redesigned to handle any use case. Dimensions are reliable, won't change on their own, and yes, you can finally hide your charts in tabs, popups, or anything that was previously barred by the now debunked display:none issue.
  • Adding/removing and changing data is now simple as push, pop, shift. No need to use a fussy api, just alter the data in your config, and hit update. Magic!
  • Reduced 2.0 build size to 122kb (minified)
  • Updated Documentation for Getting Started and Scales
  • ~ 56% Unit Test Coverage