HELP ME IN GENERATING TOOL TIP IN TIMESERIES CHART

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
appala_sri
Posts: 3
Joined: Fri Jul 01, 2005 6:17 am
Location: INDIA,HYDERABAD
Contact:

HELP ME IN GENERATING TOOL TIP IN TIMESERIES CHART

Post by appala_sri » Tue Aug 02, 2005 1:25 pm

Hi All,

I ve created chart using TimeSeries of jfree chart . now I want to include the tooltips for the above.

Can any body help me in this regard and send me the code that I have to write to get the tool tips which will print the X-axis data and Y-axis data as a tool tip. plz send me the code for that.

Thanks in advance.

Srinvias
Srinivas..

silent
Posts: 50
Joined: Wed Mar 16, 2005 2:55 pm
Location: Korea
Contact:

Post by silent » Tue Aug 02, 2005 2:05 pm

Code: Select all

public static JFreeChart createTimeSeriesChart(String title,
                                                   String timeAxisLabel,
                                                   String valueAxisLabel,
                                                   XYDataset dataset,
                                                   boolean legend,
                                                   boolean tooltips,
                                                   boolean urls);
This method has a "boolean tooltips" argument.
If you set this argument true, then you can see a tooltip what you want.

Is this ansewer what you want?[/code]
Tokdo belongs to Korea.

Not a 'sea of japan', But a 'East Sea(Dong hae)'

Locked