2.0.0-beta1
Pre-release
Pre-release
The beta 1 release of Chart.js 2.0 provides some bug fixes over the beta 0 release.
Breaking API Changes
scale.gridLines.show
is nowscale.gridLines.display
scale.scaleLabel.show
is nowscale.gridLines.display
scale.ticks.show
is nowscale.ticks.display
scale.angleLines.show
is nowscale.angleLines.display
Documentation
Thanks to @wcatron for updating the documentation. Properties are now shown in table format and should be easier to read. Check out the docs at http://nnnick.github.io/Chart.js/docs-v2/
- Pie / Doughnut documentation now has correct data structure. Thanks @Marius2805
Bug Fixes
- Line was drawn up to first point from the x axis
- Fixed an issue that prevented tooltips from displaying
- Fixed a tooltip issue when data is missing from a dataset. Thanks @pascoual
- Fixed the colors when drawing a line in the legend (#1324)
- Fixed intermittent flickering when updating after a data change (#1381)
- Fixed docs for doughnut charts to use same canvas style as other samples (#1527)
- Y Axes should check for
null
orundefined
data (#1553) - Better handling of scale expansion (#1579) when
datamin === datamax
- Pie / Doughnut tooltips were broken (#1583)
- Tooltip title on line charts (#1584)
- Fix issue when touch end events are listened to (#1587). Thanks @wuchangming
- Fixed an issue when only the y scale of a bar chart was in stacked mode (#1604)
- Fixed an issue with resizing charts in IE9/10 (#1622). Thanks @byCedric
- Removed old template properties from Bubble, Doughnut, Polar Area and Scatter charts (#1643)
- Added legend generation functions for Pie and Polar area charts (#1659)
- Fixed an issue when numerical data was attached as strings. (#1661)
- Fix an issue when clearing the tooltip on IE11 / Edge. (#1688)