however, I get an error on the colorscheme line stating:
Object literal my only specify known properties, and 'colorscheme' does not exist in type '_DeepPartialObject<PluginOptionsByType<keyof ChartTypeRegistry>>'
I figure this is a ng2-charts issue, related to Chart.register() - but I have not been able to figure out how to register this plugin.
Using the following:
I am trying to create a custom color scheme, as shown in the docs:
however, I get an error on the colorscheme line stating:
Object literal my only specify known properties, and 'colorscheme' does not exist in type '_DeepPartialObject<PluginOptionsByType<keyof ChartTypeRegistry>>'
I figure this is a ng2-charts issue, related to Chart.register() - but I have not been able to figure out how to register this plugin.