I am trying to set the color of lines on an XYPlot
is deprecated. What is supposed to be used?
2. Calling setPaint() sets the color of every line in the plot. I want set specific lines to specific colors. How do I do that?
XYLineAndShapeRenderer lineShapeRenderer = new XYLineAndShapeRenderer();
XYPlot combinedPlot = new XYPlot(collection, domainAxis, rangeAxis, renderer);