Expected Behavior
Be able to call chart.update() after setting new options related to scales.
Current Behavior
Uncaught TypeError: Cannot set property 'options' of undefined
Possible Solution
It's caused by setting scales in new options to chart.scales directly. Could be fixed by merging with default values and ensureScalesHaveIDs before doing so. Have worked out a PR.
Reproduce
Codepen
Context
When I want to change the tick display format of axes it broke.