I'm going to plot a line chart that will change from solid line to dashed line to to indicate real data and forecasting data. I'm not sure if i need to extend some of the classes like XYLineAndShapeRenderer or something else, or maybe there is some convenient way to achieve this?
Here is a demostration graph i plotted using Excel.
I am talking about the gray lines in the graph. That is what i want. I don't know if there is a renderer that allow me to indicate which range dashed or solid
getItemStroke
shouldn't create a newBasicStroke
every time. It's going to get called for every item for every series every time its repainted. – Jillane