Tooltips in bar chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
raghuram_g
Posts: 3
Joined: Wed Mar 29, 2006 5:02 am

Tooltips in bar chart

Post by raghuram_g » Wed Mar 29, 2006 5:03 am

can someone tell me or send me sample code of assigning tooltips for each bar in a bar chart.I have been researching this for past 2 days.I am not able to find any proper solution

sachinkt
Posts: 5
Joined: Thu Apr 06, 2006 1:31 pm

Post by sachinkt » Thu Apr 06, 2006 1:42 pm

try this

JFreeChart chart = ChartFactory.createBarChart("", "", "", dataset, PlotOrientation.VERTICAL, true, true, true);

Locked