Jacco van den Berg

Results 222 comments of Jacco van den Berg

It feels kind of hacky to just return semi default values if the canvas does not exist. Can you reproduce the errors because it seems to me that if you...

You can use three shaking to get rid of all the parts you don't need: https://www.chartjs.org/docs/latest/getting-started/usage.html#tree-shaking https://www.chartjs.org/docs/latest/getting-started/integration.html#bundle-optimization

do you have a sample of this?

@etimberg we dissalowed optional chaining because it was not stable yet and not all [platforms supported](https://github.com/chartjs/Chart.js/pull/8024#pullrequestreview-525815311) it. It seems it is stable now and every major browser supports it, except...

I gave it a quick look, seems like we take the middle point of an element and see if it is inside the chart area, which in this case is...

All the text can be configured by the font's parameter in the config of the specific part that you want to change, in here you can increase/decrease the font size...

https://www.chartjs.org/docs/4.4.0/general/fonts.html This shows how to configure the font size for the legend labels, when you detect that the font size in windows has been changed you adjust `options.plugins.legend.labels.size = newFontSize`...

You can specify the fill as an object and set the above property: https://www.chartjs.org/docs/4.4.3/charts/area.html#example-with-multiple-colors

You linked the template reproducible sample, can you update it to your correct reproducible sample?

The tooltip plugin uses an hook that only fires once after the chart has been made to create its own tooltip object. This is why the plugin needs to be...