Has anyone done anything with making the line charts 3D?
I'd like to do it and make the line chart w/ a dropshadow, but wanted to be sure I wasn't recreating the wheel here.
thanks,
andrew
3D Timeseries XY line charts
-
- Posts: 36
- Joined: Thu Apr 12, 2007 6:54 am
XY3dLineRenderer
maybe answered my own question here, looks like in the newer releases there's an XY3DLineRenderer, so maybe good to go, if I can figure out the right 3DPlot to go with it.
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Hi,
do not look any further.
There is no specific "3D plot". All you need is a suitable 3D axis and a renderer which supports 3D.
However, my attempts to generate a 3D XYplot (by using two NumberAxis3D and the XYLine3DRenderer) failed. The data points were rendered using 3D but not the axis. I then checked the sources, and it turned out that NumberAxis3D retrieves the offsets for the 3d effect only if the plot is a CategoryPlot and only if CategoryPlot.getRenderer() returns an instance of Effect3D.
You will probably have to patch NumberAxis3D to get the 3D effect for XYPlots.
do not look any further.
There is no specific "3D plot". All you need is a suitable 3D axis and a renderer which supports 3D.
However, my attempts to generate a 3D XYplot (by using two NumberAxis3D and the XYLine3DRenderer) failed. The data points were rendered using 3D but not the axis. I then checked the sources, and it turned out that NumberAxis3D retrieves the offsets for the 3d effect only if the plot is a CategoryPlot and only if CategoryPlot.getRenderer() returns an instance of Effect3D.
You will probably have to patch NumberAxis3D to get the 3D effect for XYPlots.