IntervalMarker Cutomizable?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
TXAggie
Posts: 8
Joined: Thu Aug 03, 2006 4:35 pm

IntervalMarker Cutomizable?

Post by TXAggie » Thu Aug 03, 2006 4:52 pm

I have a time series chart where the range axis can be 0 to anything (Depends on the application). I have several range markers that signify specific intervals that a particular apparatus is within range of. I have a custom popup menu where ranges can be updated and where the Interval markers can be turned on/off or set to automatic (when the values enter that specific range). Everything is set up and the theory seems relatively easy. The question is, can an IntervalMarker be set to visible or !visible. I know that it doesn't support setVisible() and I certainly don't want to go into the source files and start changing code. I have tried changing the int index option, but there is so little info on what "index" is or does. I have thought about clearing all of the markers and then re-creating the ones I still need, but that is a pain in the ass. Any ideas? By the way, what is the purpose of index? I know you can clear IntervalMarkers of a specific index, but I have never been able to see any markers where the index was anything except 0.

Thanks

Locked