A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
LukasW
- Posts: 9
- Joined: Thu Nov 02, 2006 8:10 pm
Post
by LukasW » Thu Nov 02, 2006 8:24 pm
Is it possible to generate tooltips for a TimeSeries line chart? The chart is saved in .png format and will be viewed in a browser. I've found nothing in the Developers Guide or on the forum about this..
Thanks!
-
david.gilbert
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
-
Contact:
Post
by david.gilbert » Thu Nov 02, 2006 11:35 pm
To get tooltips for a PNG image displayed in a browser, you need to create an HTML image map - the ImageMapUtilities class (included in the JFreeChart distribution) will help you with this. There are also some demo apps included with the JFreeChart Developer Guide.
-
LukasW
- Posts: 9
- Joined: Thu Nov 02, 2006 8:10 pm
Post
by LukasW » Fri Nov 03, 2006 1:26 pm
Yes, I've studied the examples in the Developers Guide but none of them are for TimeSeries charts or any other non-catergory XY chart. How can I create tooltips for continous data, such as a TimeSeries?
Regards
//Lukas
-
angel
- Posts: 899
- Joined: Thu Jan 15, 2004 12:07 am
- Location: Germany - Palatinate
Post
by angel » Fri Nov 03, 2006 1:51 pm
The image-maps work the same for category or non-category charts.
Can you describe your problem?
-
LukasW
- Posts: 9
- Joined: Thu Nov 02, 2006 8:10 pm
Post
by LukasW » Fri Nov 03, 2006 3:10 pm
Your'e right, it does work for TimeSeries as well, amazing!
Thanks!
-
kingcu
- Posts: 3
- Joined: Mon Oct 09, 2006 2:15 pm
Post
by kingcu » Wed Nov 15, 2006 8:01 pm
I am using Cewolf tag library, so how do I get tooltip in this case?
Also, my understanding is that the tooltip is for each data point on the time series, correct?
Thanks.