Version 2.7.2
Documentation: http://www.chartjs.org/docs/2.7.2/
Enhancements
- #4891 Relax dependencies versions. Thanks @jsg2021
- #4923 Reset only when animating (optimization)
- #4994 Equally sized bars for bar charts
- #5062 Improve
point.xRange
andpoint.yRange
performance. Thanks @fanthos - #5076 Prevent double ticks array reverse for logarithmic scale (optimization). Thanks @jcopperfield
- #5095 Better default tooltip label format in the time scale
- #5240 Support multiple font colors for radial chart labels. Thanks @flaurida
Issues Fixed
- #3998 Avoid tooltip truncation. Thanks @kaidohallik
- #4198 Fixed updating scale options. Thanks @xg-wang
- #4874 Fixed setting canvas dimensions. Thanks @andersponders
- #4913 Fixed log scale when value is 0. Thanks @jcopperfield
- #4937 Fixed non-adjacent stacked groups. Thanks @jcopperfield
- #4942 Fixed y-axis labels partially hidden. Thanks @jcopperfield
- #4943 Round values in linear tick generator. Thanks @jcopperfield
- #4944 Fixed bumpy line on smooth dataset. Thanks @jcopperfield
- #4959 Fixed out of memory error when all data points are 0. Thanks @jcopperfield
- #4959 Fixed unresponsive bubble chart. Thanks @jcopperfield
- #5005 Fixed tooltip changing while animating. Thanks @jcopperfield
- #5041 Fixed infinite loop due to insufficient bounds checking. Thanks @jcopperfield
- #5045 Use
time.unit
option to create default min/max for empty chart. Thanks @jcopperfield - #5088 Re-expose
Chart.Ticks.formatters
- #5144 Fixed updating plugin options
- #5165 Treat negative values in doughnut charts as positive
- #5178 Don't draw tick across axis/border. Thanks @jhaenchen
- #5248 Fix label vertical alignment on vertical scales. Thanks @MPierre9
- #5275 Improve polyfill function of log10 to return whole powers of 10. Thanks @jcopperfield
Documentation
- #4914 Fixed samples titles. Thanks @aspaldiko
- #4921 Add link to chartjs-plugin-waterfall. Thanks @MartinDawson
- #4930 Remove extra space. Thanks @MartinDawson
- #4979 Fixed link to time axis documentation in bar chart
- #4984 Link to Ember/Chart.js integration. Thanks @jpsirois
- #5006 Link to Angular2+ libraries (1 & 2). Thanks @realshaft
- #5010 Fixed typos and broken links. Thanks @beiz23
- #5094 Add note about
legendCallback
. Thanks @cameroncf - #5166 Improve custom tooltip docs and samples
- #5167 Add docs on how to resize charts manually for printing
- #5168 Add example on how to use the tooltip label callback
- #5169 Fixed error in polar area and doughnut chart docs
- #5173 Better variable name in API snippet. Thanks @jonquach
- #5225 Add Charba GWT integration to extensions.md. Thanks @stockiNail
- #5227 Remove trailing spaces
- #5256 Improve title of GitBook pages. Thanks @wmzhong
- #5274 Make both README.md and installation.md clearer. Thanks @wla80
Development
- #4699 Suppress coveralls errors in forks. Thanks @andig
- #4738 Upgrade to ESLint 4
- #5053 Update license year and copyright holders
- #5112 Use the Chart.js shared ESLint config
- #5113 Make
Chart.layout(Service)
importable - #5114 Make
Chart.plugins
importable - #5118 Rename
Chart.layout
toChart.layouts
- #5138 Ignore
package-lock.json
- #5143 Log gulp error. Thanks @loicbourgois
- #5150 Test for
showLines
in scatter chart. Thanks @loicbourgois - #5195 Setup HTML and JS linters for samples. Thanks @loicbourgois
- #5217 Fix Slack invitation link
More details in the release PR: #5145