Issues with JFreeChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
philanthrophic
Posts: 9
Joined: Wed Mar 26, 2008 6:20 am

Issues with JFreeChart

Post by philanthrophic » Thu Mar 27, 2008 11:21 am

Hi all,

I am new to the forum as well as JFreecharts. I am trying to replace my existing charting package from JFreecharts and have done a small POC to see whether JFreecharts fits in the requirement or not. As our application is a reporting application and charting is at the core of it we require product which is highly scalable.

I made use of the CEWOLF as ours is a Web based application.

And here are some of the issue that i have witnessed:

-Chart Image is hidden behind the legends if there are about 50 odd legends, is it possible to hide the legends and not the chart if such a situation arises.

-HyperLink is on Images and not Legends, is it possible to have hyperlink on Legends also.

-If there are huge number of points on the X-AXIS say all the dates from last one year, then it shows all the points and points start overlapping each other and nothing is visible. Was such a problem ever witnessed before? Are there some solutions you people can suggest.

Please let me know if there are some suggestions on the issues that i have faced.

Also is there any forum for CEWOLF itself.

Thanks in advnace

-Nishant

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Issues with JFreeChart

Post by david.gilbert » Thu Mar 27, 2008 1:32 pm

I'm not yet very familiar with Cewolf, but I'll try to answer your questions from the point of view of JFreeChart itself:
philanthrophic wrote:-Chart Image is hidden behind the legends if there are about 50 odd legends, is it possible to hide the legends and not the chart if such a situation arises.
This is a quirk of the layout approach used by JFreeChart. You can omit the legend if you want to, but you'll have to have your own code decide the number of legend items at which you'd rather have no legend displayed.
philanthrophic wrote:-HyperLink is on Images and not Legends, is it possible to have hyperlink on Legends also.
This is possible in JFreeChart - I don't know if Cewolf exposes it.
philanthrophic wrote:-If there are huge number of points on the X-AXIS say all the dates from last one year, then it shows all the points and points start overlapping each other and nothing is visible. Was such a problem ever witnessed before? Are there some solutions you people can suggest.
It sounds like you may be using a chart based on CategoryPlot (which displays discrete categories along the axis). You should try a chart based on XYPlot (with a DateAxis), then the tick labelling automatically prevents the labels from overlapping.
philanthrophic wrote:Also is there any forum for CEWOLF itself.
There is a project page here, I'm not sure how active it is:

http://sourceforge.net/projects/cewolf
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked