Hi all,
I want to create Line chart,AreaChart,StackedBarChart with 3D effects
I m using XYPlot to render these charts.
For Line chart i got XYLine3DRenderer to show 3D effects but
It does not show 3Deffect proparly
Second think I have not found any renderer to draw Area Chart and Stacked barChart with 3Deffect.
Area Chart and StackedBar Chart using TimeSeries data to show the chart.
Is thr any way to show these charts with 3Deffects
Please help for it.
Mann
[/code]
Charts with 3D Effects
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
Re: Charts with 3D Effects
This is a very vague statement. Could you show a picture and explain why it does not show the 3D effect properly? My initial guess would be that you are not using a NumberAxis3D on one or more of the axes. This is just a guess, however, since you neither describe what the problem is or how you created your chart.mann wrote: For Line chart i got XYLine3DRenderer to show 3D effects but
It does not show 3Deffect proparly
There is a BarRenderer3D class you can use along with a CategoryPlot. You would have to be sure to use a NumberAxis3D and a CategoryAxis3D for the range and domain axes respectfully. There is a static method called ChartFactory.createBarChart3D(...) that would handle most of this for you. There is no equivalent renderer for an XYPlot.mann wrote: Second think I have not found any renderer to draw Area Chart and Stacked barChart with 3Deffect.
Area Chart and StackedBar Chart using TimeSeries data to show the chart.
Is thr any way to show these charts with 3Deffects
There are no 3D renderers for area plots. Area plots are hard enough to render without having to add 3D support to them. If you want to try your hand at writing one, please consider submitting it as a patch once you have it working.
Much of the time, 3D effects are simply for eye-candy and distract from the data being presented. Unless you are in marketing, you should really stick with 2D plots. If you really want eye-candy and are willing to approximate some 3D effect, use a gradient paint to color your plot.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA