A Glimpse of JFreeChart 3D
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
A Glimpse of JFreeChart 3D
I've mentioned a few times in the forum that I've started some work on a simple 3D graphics rendering engine that will hopefully lead to support for "real" 3D charts in the future. It's still *very* early days, but I've made a little demo to show what I have so far:
http://www.jroller.com/dgilbert/entry/a ... eechart_3d
http://www.jroller.com/dgilbert/entry/a ... eechart_3d
Last edited by david.gilbert on Thu May 22, 2008 9:32 pm, edited 2 times in total.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Looking nice. Would like to see some surfaces (3D planes) though instead of shapes as those are more relevant to charting.
P.S. what do you think of the book? Haven't read anything by Leen Ameraal in nearly a decade because I wasn't impressed with his writings in the mid 1990s (note, he used to write for Sybex at the time, who were at the far bottom of the quality pile at the time).
From Amazon's mixed bag of reviews little can be gauged except that people think the price is a bit steep
P.S. what do you think of the book? Haven't read anything by Leen Ameraal in nearly a decade because I wasn't impressed with his writings in the mid 1990s (note, he used to write for Sybex at the time, who were at the far bottom of the quality pile at the time).
From Amazon's mixed bag of reviews little can be gauged except that people think the price is a bit steep

-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
If you start the demo with WebStart, you can click on those tabs and see some more chart-relevant examples.jwenting wrote:Looking nice. Would like to see some surfaces (3D planes) though instead of shapes as those are more relevant to charting.
The book has helped me, so in that sense it is good. At the same time, I think it could be better structured, especially the demo code which is quite an important part of the book. I'll give it a 6.5 out of 10.jwenting wrote:P.S. what do you think of the book? Haven't read anything by Leen Ameraal in nearly a decade because I wasn't impressed with his writings in the mid 1990s (note, he used to write for Sybex at the time, who were at the far bottom of the quality pile at the time).
From Amazon's mixed bag of reviews little can be gauged except that people think the price is a bit steep
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Hi,
The 3D charts are looking were nice. Go JFreeChart3D Go... U really Rock...Gilbert...
I was wondering how well these 3D charts would work in browser's, I mean as a web application.
I have never done mouse operations on the charts in web applications. Can you please suggest how would it be possible for one to perform mouse operations on a chart that is rendered in a browser as a web application...
Thanks,
Laks.
The 3D charts are looking were nice. Go JFreeChart3D Go... U really Rock...Gilbert...
I was wondering how well these 3D charts would work in browser's, I mean as a web application.
I have never done mouse operations on the charts in web applications. Can you please suggest how would it be possible for one to perform mouse operations on a chart that is rendered in a browser as a web application...
Thanks,
Laks.
true. And no image format in the world will give you animation like that.
Unless you're going to render an animated gif out of a few dozen frames created out of the same source data but rotated slightly for each frame, and in that case the animation won't be user controlled but a predetermined cycle.
Unless you're going to render an animated gif out of a few dozen frames created out of the same source data but rotated slightly for each frame, and in that case the animation won't be user controlled but a predetermined cycle.
this would be so cool.. is this based on java2d or we need to install java3d if we really want to use this charts. (when it will released).
right now we use 3d charts using java3d. if this is based on java2d then i can not wait to replace.. we use jfreechart for all other charts.
Good work.. keep it up.
right now we use 3d charts using java3d. if this is based on java2d then i can not wait to replace.. we use jfreechart for all other charts.
Good work.. keep it up.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It is based on Java2D not Java3D.develop wrote:this would be so cool.. is this based on java2d or we need to install java3d if we really want to use this charts. (when it will released).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
jwenting wrote:A web application would of course see a static image, not something you can rotate.
An applet could be used to provide animation.
jwenting wrote:An applet would certainly do the trick, but then the web application is no longer thin client.
All very valid points, but people want 3d since Excel has it. If we can get 3d into JFreeChart, we can get more people moving away from Excel and embracing JFreeChart. JFreeChart is certainly lighter weight than Excel, more portable, and less restrictive/more flexible with data and customizations.jwenting wrote:true. And no image format in the world will give you animation like that.
Unless you're going to render an animated gif out of a few dozen frames created out of the same source data but rotated slightly for each frame, and in that case the animation won't be user controlled but a predetermined cycle.
As for displaying the 3d charts in a static context like an image, all 3d charts suffer from the issues with perspective, viewing angle, etc. In these cases, we are fortunate that 3d charts/datasets can easily become 2d charts in almost all cases without lose of information. You can even collapse 4d charts/data into a series of 2d charts.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
The book doesn't use Java3D at all, mostly just java.awt.Graphics (I think the first edition of the book was published for JDK 1.1). The authors have posted most of the example code here if you want to take a look:mhilpert wrote:Very nice, David! I'm also starting some 3D graphics stuff on my own and want to avoid Java 3D (APIs). Can you recommend this book with this in mind or does it (also) has lotsa of Java 3D API examples?
http://home.planet.nl/~ammeraal/grjava2e.html
I recommend the book, simply on the basis that it helped me quite a lot. It is not perfect by any means - at times I felt like the book could have been better organised. But I don't see any alternatives around (aside from going the route of Java3D or OpenGL), and it certainly isn't a *bad* book.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 2
- Joined: Tue Aug 21, 2007 3:15 pm