You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2752Chart.pluginService has been renamed to Chart.plugins.
Enhancements
#2580 Allow disabling lines on a per dataset. Use showLine property in the dataset.
#2657 Added a new tooltip callback to all customizing the colors shown. Modify the labelColor callback in the tooltip to change the colors.
#2661 Added a way to sort tooltip items using a callback.
#2732 The grid lines color option can now be passed an array of colors.
Converted legend and title blocks to use plugin system. This means that builds without these could be made.
New plugin hooks: resize, beforeDatasetsDraw, afterDatasetsDraw, beforeDatasetsUpdate, and afterDatasetsUpdate.
Plugins can now return false to cancel actions. Currently only the beforeDatasetsUpdate plugin call supports this.
Added a config callback onResize that runs when the chart resizes.
The on canvas legend can now be placed on the left or the right. Simply add position: 'right' to the legend config to make this happen. The Horizontal Bar sample includes this.
Issues Fixed
#2607 Fixed an issue where the 'rectRot' point style drew incorrectly.
#2613 Fixed an issue where destroying the chart did not stop animations.
#2639 Fixed a crash in the pie-customTooltips sample file.
#2647 Fixed an issue where lines with tension 0 did not animate.
#2673 Fixed the syntax in the docs scale section. Thanks @zachpanz88
#2675 Fixed link in Readme to advanced docs section. Thanks @FROGGS
#2278 Fixed issues with points being clipped at the edges.