When use data: [0] in order to inicialize the chart ...
New issue in all charts with trendlineLinear: Uncaught TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite. (at addFitter, chartjs-plugin-trendline.js:132:23)
When use
data: [0]
in order to inicialize the chart ... New issue in all charts with trendlineLinear: Uncaught TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite. (at addFitter, chartjs-plugin-trendline.js:132:23)Using:
Chart: . . . trendlineLinear: { colorMin: "red", colorMax: "green", lineStyle: "dotted", width: 1, projection: false } . . .