Hi, I have a really slick dynamicly generating set of charts in a combination plot. Very sweet. Almost there!
I'm using JFreeChart.createCombinableTimeSeriesChart and an XYDataSet.
For some reason, more often than not, the plot lines on the graph are all red, even when the Legend is showing the different colors. Sometimes the lines are painted correctly, then go to red, then later will go back and forth.
I am updating the chart on some interval basis, and calling
chart.setDataset()
chartPanel.revalidate()
to force the chart to refresh.
Any ideas?
Thanks in advance.
John