Search code examples
javascriptjqueryjqplotdotted-line

jqPlot from line to dotted


I have a graph where I show projections for several statistics. The statistics up to this year are certain, but from 2012 and beyond, they are just a projection, and therefore not certain. I want to have a line when the statistics are certain, and become dotted when the projection starts.

Is this possible? Or do I have to create a new line that is dotted and starts after this year?


Solution

  • I think you will need to split the data into two different series with different options for each.