Closed stockiNail closed 2 years ago
At the moment, when the plugin is used in a chart with time or timeseries scale, the value to define the color stop must be configured in UTC (millis). Probably this is not really comfortable for the users.
The keys of color object could be parsed (as done in the annotation plugin: https://github.com/chartjs/chartjs-plugin-annotation/blob/master/src/helpers/helpers.chart.js#L13-L22)
At the moment, when the plugin is used in a chart with time or timeseries scale, the value to define the color stop must be configured in UTC (millis). Probably this is not really comfortable for the users.
The keys of color object could be parsed (as done in the annotation plugin: https://github.com/chartjs/chartjs-plugin-annotation/blob/master/src/helpers/helpers.chart.js#L13-L22)