Skip to content

2.0.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@tannerlinsley tannerlinsley released this 24 Oct 23:17

The first beta for Chart.js 2.0 is here!

Beta is as close as we've been to a stable release of some of the coolest new features Chart.js has seen in years.

New Features since v2.0.0-alpha4:

  • New Bubble chart and controller
  • Tooltip callbacks. Instead of a confusing templating language, we found a simpler approach to easily layout and customize your tooltips. Every tooltip callback (beforeTitle, title, afterTitle, etc..) accepts a string or an array. If an array is used, it will produce multiple lines. Tooltips now come with a lot more options for visual customization as well.
  • Datasets can now be hidden by simply setting a hidden: true property and calling chart.update()
  • You can now use separate hover and tooltip modes (eg. showing a tooltip for an entire label, but have one point from that label be clickable and accept visual changes).
  • Travis CI now runs unit-tests. So yes, all new PR's must pass unit-tests to be merged! Yay!
  • Time Scale now supports to and from time properties to limit the min and max of the scale shown.
  • All scales now support scatter-style data eg. data: [{x: Date(), y: 10} , {x: Date(), y: 15}] in which case the labels array is optional.
  • Scale label rotation is now smarter.
  • Charts now accurately handle null, undefined, or NaN values in a predicable way (they don't get displayed and your chart won't die ;)
  • Controllers
  • Bug fixes and stability improvements