Color « XYLineChart « JFreeChart Q&A





2. Setting the line colours of a XYLineChart    jfree.org

I am creating a chart and add data series into it, but I seem to be able to set the colour of the series. I first do: JFreeChart chart = ChartFactory.createXYLineChart( I read from the FAQ that I could first get a Plot object, and then set the colours. I tried to get a plot object and get a renderer, but ...

3. XYLinechart -coloring for lines    jfree.org

4. Changing the color of the Line dynamically in XYLineChart    jfree.org

Hi, I am using a simple XYLineChart to plot a given Value. I have a range defined for this value. Range is -10 to 40. Now I've set the Initial color of the line to YELLOW. My requirement is, I need to change the color of the line to RED, if the plot value exceeds my given range. I tried doing ...

5. Always same color in XYLineChart    jfree.org

Always same color in XYLineChart by bhzunami Thu Aug 26, 2010 1:26 pm Hello, I have a little problem with my XYLineChart. I have two or more series. I see all on the image, but they have the same color - Red. So I study the JFreeChart book. And read this answer http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=30439&p=83807&hilit=same+color#p83807. After set up a render an give ...