10👍
Instead of doing this
Chart.defaults.global = {
animationSteps: 30,
tooltipCornerRadius: 0
}
you should do this
Chart.defaults.global.animationSteps = 30;
Chart.defaults.global.tooltipCornerRadius = 0;
When you do the former, you are wiping out all the default values by putting in an entirely new global object (instead of just changing the properties you want to). The only way to get that to work would be define each and every property.
Source:stackexchange.com