Allow points on a line to be different styles
When providing data for a line graph, it would be very useful to specify multiple styles for each series and then for each data point specify which series style to use.
A style is combination of colour, negative colour, dash style and style name.
When defining the plot options for a series, it should be possible to provide a list of styles as an array. When providing the series data, it should be possible to specify for each point the style it should use once the line reaches that point
When a series has styles, the legend should show all the styles with the style names instead of the series name.
A concrete example is a graph of the efficiency of a heater. The line graph shows the temperature in the room but the colour defines whether the heater was on or off at the time.
-
The current way of doing this would be to use two linked series: http://jsfiddle.net/highcharts/cQHES/
-
Sal commented
I too have a need for individually styled points. For example, I am displaying economic data with historical and forecast components. I would like to style the historical portion of the data as a solid line; and have the forecast portion of the data be a dashed line. I can use xAxis.plotBands to differentiate when I only have one series, but this is insufficient when I have more than one series with different forecast start periods.