Closed LaplancheMaxime closed 2 years ago
Hi, are you using this with a specific plugin? If so are you able to send me the the documentation for it.
If Chart.js has moved all plugin configuration options then I might need to move the Plugins object onto the Options object but if it's just this particular plugin then the approach your currently using is probably correct.
Hi, no I don't use a specific plugin
Look here : https://www.chartjs.org/docs/latest/configuration/title.html // https://www.chartjs.org/docs/latest/configuration/legend.html
options.plugins.legend options.plugins.title
I have the impression that a lot of objects are passed under plugins. Thank you very much
Ah yes, looks like a lot of options moved in v3 of Chart.js. I'll look at updating this reflect that when I get a chance.
I'm going to assume this is fixed with the new v3 release, please re-open and provide example code if that's not actually the case.
Hi !
I think we have a little problem with the objects compared to the last version of Chart.JS. Some configuration items should be under options.plugins. while the method places them under options. directly.
Exemple: C#
Rendering of the CreateChartCode method :
Do you have a solution to use the objects directly?
Thanks a lot