Skip to content

2.0.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@tannerlinsley tannerlinsley released this 04 Jun 01:53

Version 2.0.0-alpha is a first look at new and awesome Chart.js features. Building off of v1.1's animation refactor, chart scales have been completely rewritten by @etimberg. @tannerlinsley has added many needed enhancements to existing chart types, and chart configurations are now more powerful than ever.

  • Animate all things! (Almost everything is animatable now, including color changes).
  • You have more control over axis declarations and even have multiple axes on a single chart. For details, including screenshots, please see #1132
  • 10-100x speed improvements - by batching animation frames and eliminating extraneous data copies, everything runs faster, smoother and with less CPU
  • New core chart type - scatter plot that allows arbitrary placement of data points.
  • Chart configs, options, and data are now bound to the chart. No more traversing the chart object to update anything. Just update the options you originally passed to your new Chart and call .update() on your chart instance!
  • Easier API and access to custom overrides. metaData and metaDataset properties now house all of the Chart.js goodness and a simple custom property can override any color, border, etc. with ease. Just call .update()!
  • Plenty more that won't fit here. Feedback is greatly appreciated and PR's welcomed. Thanks!