aspose file tools*
The moose likes Other Open Source Projects and the fly likes Generate combination charts using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Generate combination charts using Java" Watch "Generate combination charts using Java" New topic
Author

Generate combination charts using Java

Rajesh Govindapillai
Greenhorn

Joined: Dec 08, 2010
Posts: 6

I'm not sure if this is the right forum to post this query. Apologies in case this is a wrong forum

We have a requirement to generate a combination chart (combo of line and stacked bar graphs) from a web application which has been built extensively on EXTJS (v3 and above).

Requirement talks about plotting atleast 7 to 10 graphs on the same page. Graphs will be a plot of volume (y-Axis) against each hour of day (x-Axis). The graph needs to be generated dynamically on change of any filter options on the screen as well.

We did find that EXTJS supports charts and graphs, but we're concerned about the performance for loading this huge dataset. We're open to using any other standardized open source API. So, please send any pointers to any such API or a pointer to the optimal usage of EXTJS charts. Thanks in advance!


Regards,
Rajz
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

It might be worth investigating JFreeChart ( www.jfree.org ) if you are willing to consider using Java Applets to plot the graphs or if you are willing to dynamically generate JPG files on the server.

The problem with making any recommendation is that I don't know what your concept of a "huge dataset" is. How many points per chart?


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Rajesh Govindapillai
Greenhorn

Joined: Dec 08, 2010
Posts: 6

James Sabre wrote:It might be worth investigating JFreeChart ( www.jfree.org ) if you are willing to consider using Java Applets to plot the graphs or if you are willing to dynamically generate JPG files on the server.

The problem with making any recommendation is that I don't know what your concept of a "huge dataset" is. How many points per chart?


Thanks for the response. On each graph, we're looking to plotting: 7 line graphs with 24 points (one per hour of the day) and one bar graph with around 10-15 points.

We're not inclining towards using Applets at this time as we require to maintain consistency of the look & feel in rest of the app. (As mentioned earlier, rest of the app has been built on EXTJS and has a rich look n feel).

Thanks Anyway!
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

Almost any change of charting library will result in a change to the look and feel of your web page.

I don't consider 7 line graphs with 24 points and one bar graph with around 10-15 points to be huge but I don't plot charts with Javascript. This would be very very quick to draw using a Java Applet and JFreeChart and probably very fast in responding to your filtering changes but I don't have any way of comparing the performance of JFreeChart with EXTJS.

Sorry I couldn't be of more help.
Rajesh Govindapillai
Greenhorn

Joined: Dec 08, 2010
Posts: 6

James Sabre wrote:Almost any change of charting library will result in a change to the look and feel of your web page.

I don't consider 7 line graphs with 24 points and one bar graph with around 10-15 points to be huge but I don't plot charts with Javascript. This would be very very quick to draw using a Java Applet and JFreeChart and probably very fast in responding to your filtering changes but I don't have any way of comparing the performance of JFreeChart with EXTJS.

Sorry I couldn't be of more help.

James, Thanks for your inputs. We will take a look at the options provided by JFreechart.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate combination charts using Java