Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Generate combination charts using Java

 
Greenhorn
Posts: 6
Oracle Chrome Java
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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.

 
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!