SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

cache also undefined values in option resolver (#9661)

Otherwise, repeated lookups of undefined properties always trigger the
comparatively expensive resolution. This can be the case for example in
_calculateBarIndexPixels() in controller.bar.js when looking up
options.skipNull and options.maxBarThickness, which is done for each bar
in a bar chart.
T
Toni Dietze committed
93fcec595cda74991c1578f4138a21955e30ee2c
Parent: e1ae5e6
Committed by GitHub <noreply@github.com> on 10/4/2021, 6:02:45 PM