• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generate combination charts using Java

 
Greenhorn
Posts: 6
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!

 
Ranch Hand
Posts: 781
Netbeans IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rajesh Govindapillai
Greenhorn
Posts: 6
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 781
Netbeans IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
Oracle Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic