You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When plotOptions.series.turboThreshold is set to 0 and boost mode is enabled, a scatter plot with many points in the format {x: number, y: number, color: rgba string} will display without error.
My understanding is that this is the best (or maybe the only) way to specify colors for individual scatter plot points.
Actual behaviour
The chart works fine, but Highcharts Error #12 shows in the console, which clutters the console.
This error occurs if the series.data option contains object configurations and the number of points exceeds the turboThreshold. It can be fixed by either setting turboThreshold to a higher value, or changing the point configurations to numbers or arrays.
In boost mode, turbo mode is always on, which means only array of numbers or two dimensional arrays are allowed.
Regarding this:
My understanding is that this is the best (or maybe the only) way to specify colors for individual scatter plot points.
This is the best way. Alternative solution is to split your dataset into multiple series, linked to the main series. Each series can use separate color.
Expected behaviour
When
plotOptions.series.turboThreshold
is set to 0 and boost mode is enabled, a scatter plot with many points in the format{x: number, y: number, color: rgba string}
will display without error.My understanding is that this is the best (or maybe the only) way to specify colors for individual scatter plot points.
Actual behaviour
The chart works fine, but Highcharts Error #12 shows in the console, which clutters the console.
Live demo with steps to reproduce
https://jsfiddle.net/ce8a1mz5/21/
Run the jsfiddle and observe the Highcharts warning in the console.
Product version
Noted in Highcharts v8.1.0.
Affected browser(s)
Observed in Chrome, Firefox, Edge.
The text was updated successfully, but these errors were encountered: