Search found 11 matches

by Rahul Gupta
Fri Jul 08, 2005 6:20 am
Forum: JFreeChart
Topic: Have chart appear in existing jsp page
Replies: 2
Views: 4430

Save your chart to use ServletUtilities.saveChartAsXXX method and on the jsp page write the URL with src attribute of <img> tag.
by Rahul Gupta
Thu Jun 09, 2005 11:47 am
Forum: JFreeChart
Topic: How to remove value form legend items labels ?
Replies: 1
Views: 2121

Hi dobe,

You can set the format of label. U just need to go LabelGenerator Class, there is a class level variable to set the format u want means what u want to see. And u can pass the format through contructor or a set method, as i know.

Just Go and check.
by Rahul Gupta
Wed Jun 08, 2005 1:37 pm
Forum: JFreeChart
Topic: Bar chart
Replies: 5
Views: 9229

I think u can it, just try some method in renderer to set colors.
by Rahul Gupta
Wed Jun 08, 2005 1:32 pm
Forum: JFreeChart
Topic: Reducing category labels
Replies: 3
Views: 5568

hi lars_ohlen, if i am getting your question correctly then you have to set tick level through the setTickLevel method. Try this. And now sdotolo, you have to over-write a method "drawSubCategoryLabels" of class "CategoryAxis" in axis package. ============================= RefineryUtilities.drawRota...
by Rahul Gupta
Fri Jun 03, 2005 10:13 am
Forum: JFreeChart
Topic: How to set tooltip for legend item?
Replies: 1
Views: 2436

Hi Vikas,

I think you have to create your own class to set ToolTip on legends to extending the existing classes those are responsible in tooltip generation.
by Rahul Gupta
Fri Jun 03, 2005 10:08 am
Forum: JFreeChart
Topic: multi series continuous axis chart q
Replies: 5
Views: 4073

Try trough StackedBarChart Example. I think it should solved your problem.
by Rahul Gupta
Mon May 02, 2005 1:09 pm
Forum: JFreeChart
Topic: "AWT-EventQueue-0" java.lang.NullPointerException
Replies: 2
Views: 3042

"AWT-EventQueue-0" java.lang.NullPointerException

Ok, everything on my project was working fine. But sometimes when i opened tomcat console it gives exception like this : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironment.java:109) at sun.awt.windows.WToo...
by Rahul Gupta
Thu Apr 28, 2005 11:50 am
Forum: JFreeChart
Topic: How to display category under category
Replies: 4
Views: 4378

hi rahul,

Just use SubCategoryAxis class that exist in Axis package.
And use add subCategory method of CategoryAxis to add subcategories.

OK....
by Rahul Gupta
Thu Apr 21, 2005 6:12 am
Forum: JFreeChart
Topic: Tooltip not mapped according to bars
Replies: 3
Views: 4113

Hi Paquerette,

Thank u very much. This is working fine now.
And I'm feeling sily on my question.

Thanks again for quick reply to u and dave both.
by Rahul Gupta
Wed Apr 20, 2005 2:22 pm
Forum: JFreeChart
Topic: Tooltip not mapped according to bars
Replies: 3
Views: 4113

Tooltip not mapped according to bars

Hi all,

I'm using getImagemap() method of ChartUtilies to get ImageMap to show tooltips on the bars. Tooltips are generated fine but these are not coming according to bars, i mean to say that tooltip of first bar is coming on mouse-over on second bar and so on.

Thanks in advance...
by Rahul Gupta
Wed Apr 20, 2005 2:05 pm
Forum: JFreeChart
Topic: image quality
Replies: 11
Views: 23866

image quality

Hi Tzaphkiel,

I tried ur PNGEncoder to improve image quality but this is not giving me better result than earlier. and i coun't find out where i'm wrong.
Can u provide me some more information about rendering images.

Thanks in advance..