Search found 6 matches

by rahul
Fri Jul 04, 2008 10:08 am
Forum: JFreeChart
Topic: Modifying the axes origin in bar chart
Replies: 0
Views: 1646

Modifying the axes origin in bar chart

I want to modify the origin of the X-axis and Y-axis. Right now it is (0,0). How can I modify it to say something as (10,20). Also if I do not have any data then the X axis comes in the middle of the chart, than at the bottom. This is what I am getting http://picasaweb.google.com/khirerahul/JFreeCha...
by rahul
Wed Jul 02, 2008 4:07 am
Forum: JFreeChart
Topic: How to show the Tooltips
Replies: 4
Views: 13297

Thanks Wetzerk for your reply..

So if I am using a jsp with an image tag, then I wont be able to get tooltips. Is this because the tolltips require ChartPanel or ChartRenderingInfo, which cannot be added in this case?

Thanks.
by rahul
Tue Jul 01, 2008 1:30 pm
Forum: JFreeChart
Topic: How to show the Tooltips
Replies: 4
Views: 13297

Hi, I also have the same problem. I am calling the servlet from the src attribute of the img tag in a jsp file. This is the part of the servlet JFreeChart chart = ChartFactory.createBarChart ("BAR CHART","Hour", "Volume", dataset,PlotOrientation.VERTICAL, true,true,false); CategoryPlot plot = chart....
by rahul
Fri Jun 27, 2008 6:22 am
Forum: JFreeChart
Topic: Custom label for bar chart-Using CategoryItemLabelGenerator?
Replies: 2
Views: 3474

Hi, I think I need to explain my problem in detail
This is the chart that I have
http://picasaweb.google.com/khirerahul/JFreeChart

Just below the keys on the X-axis I want to display another text(dates) for each bar. How to do that?

Thanks.
by rahul
Thu Jun 26, 2008 1:51 pm
Forum: JFreeChart
Topic: customization of label in the pie chart and bar graph
Replies: 5
Views: 4070

I also need to use CategoryItemLabelGenerator. Can you please show a piece of code of how to use it?

Thanks
by rahul
Thu Jun 26, 2008 1:11 pm
Forum: JFreeChart
Topic: Custom label for bar chart-Using CategoryItemLabelGenerator?
Replies: 2
Views: 3474

Custom label for bar chart-Using CategoryItemLabelGenerator?

Hi,
I have a bar chart on which I want to display a date below each bar on the X -axis. I got to know that CategoryItemLabelGenerator is to be used. But I am not able to understand how to do that. Can somebody please help me??