Hi,
I am using ChartFactory to build a StackedXYAreaChart which has three series (the comparable key). I want to know if we can use the same crosshair for all the three series.
If yes, could someone share a snippet of their code? I couldn't get a copy of the JFreeChart Developer Guide and therefore I don't have the source code for the Demo program - CrosshairOverlayDemo2.java
Jfreechart - single crosshair for multiple series
-
- Posts: 30
- Joined: Thu Jun 18, 2015 5:42 pm
- antibot: No, of course not.
-
- Posts: 45
- Joined: Thu Jun 26, 2014 8:24 am
- antibot: No, of course not.
- Location: Germany, Aachen
Re: Jfreechart - single crosshair for multiple series
I´ve googled for just 5 seconds and found this: http://read.pudn.com/downloads83/source ... java__.htm
It should be the source code, you are looking for, right?
It should be the source code, you are looking for, right?
-
- Posts: 30
- Joined: Thu Jun 18, 2015 5:42 pm
- antibot: No, of course not.
Re: Jfreechart - single crosshair for multiple series
I did find that demo myself. That demo makes you to manually click a particular point on the series and only then it will display the actual values of the dataset. I am looking for the source code from the JFreeChart samples itself. Its called CrosshairOverlayDemo2.java
There, if you just hover the mouse over the graph, you get the crosshairs. I need something like that.
There, if you just hover the mouse over the graph, you get the crosshairs. I need something like that.