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,715
  • 4
  • 38
  • 56

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
  • 203,806
  • 29
  • 246
  • 1,045