I am displaying several time series lines along with Markers on a JFreeChart plot. Different markers are related to different time series and I would like them to appear in the same colour. So how do I find out for a given TimeSeries what is colour is?
I am displaying several time series lines along with Markers on a JFreeChart plot.
Share
You should be able to use
lookupSeriesPaint()for a given series. See also this example that overridesgetItemPaint(), which callslookupSeriesPaint().