1

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?

KevinS
  • 7,343
  • 3
  • 35
  • 50

1 Answers1

2

You should be able to use lookupSeriesPaint() for a given series. See also this example that overrides getItemPaint(), which calls lookupSeriesPaint().

Community
  • 1
  • 1
trashgod
  • 200,320
  • 28
  • 229
  • 974