I've added the code in the readme to the plugins section, changed the display value to true and added my string to the text variable. However, a subtitle isn't generated. I don't get any errors in the console so I don't understand what is going on. Do I have to register it globally?
If I add Chart.plugins.register(chartJsPluginSubtitle) I get an error in the console: Uncaught ReferenceError: chartJsPluginSubtitle is not defined.
I've added the code in the readme to the plugins section, changed the display value to
trueand added my string to the text variable. However, a subtitle isn't generated. I don't get any errors in the console so I don't understand what is going on. Do I have to register it globally?If I add
Chart.plugins.register(chartJsPluginSubtitle)I get an error in the console:Uncaught ReferenceError: chartJsPluginSubtitle is not defined.