Hi Everybody,
i created a 3d barchart but the bars should be more deeper to make a better 3d impression.
How can i do this? Thanks!
Changing the depth of the bars in a 3D barchart
-
- Posts: 1
- Joined: Sun Jan 03, 2021 11:48 am
- antibot: No, of course not.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Changing the depth of the bars in a 3D barchart
The BarRenderer3D class (in older versions of JFreeChart) has the following constructor where you can set the offsets for the 3D effect:
But you should note that these "3D" renderers have been removed from JFreeChart in more recent releases - you can get much better 3D charts using Orson Charts: https://github.com/jfree/orson-charts
Code: Select all
public BarRenderer3D(double xOffset, double yOffset)
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program