Hi all,
I'm having problems with the creation of a crosshai overlay with labels over a chart with a CombinedDomainXYPlot.
I've tested the crosshair overlay over a chart with a XYPlot and works fine, but I need this same feature in a chart with a CombinedDomainXYPlot.
I've tryed also the plot crosshair and works fine, but in this way I cannot have the labels to print the values (and this way repaints all the chart when the mouese is moved).
How can I make the same of CrosshairOverlayDemo1.java but in a XYPlot subplot in a CombinedDomainXYPlot.
Thanks in advance.
Crosshair overlay in a subplot
Re: Crosshair overlay in a subplot
Anybody knows how to achieve this or if JFreeChart is enabled to do it?
Re: Crosshair overlay in a subplot
Really any suggestion?
So weird this feature is?
So weird this feature is?
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Crosshair overlay in a subplot
At look at the source code of CrosshairOverlay shows that it is expecting a "normal" XYPlot.
I think you need to write your own Overlay (that could extend CrosshairOverlay) to achieve what you want.
I think you need to write your own Overlay (that could extend CrosshairOverlay) to achieve what you want.
Re: Crosshair overlay in a subplot
Ok, I'll try this.paradoxoff wrote:At look at the source code of CrosshairOverlay shows that it is expecting a "normal" XYPlot.
I think you need to write your own Overlay (that could extend CrosshairOverlay) to achieve what you want.
Thanks very much.