Stefan
Stefan

Reputation: 2395

Equivalent of createBarChart3D in JFreeChart 1.5.0?

JFreeChart 1.0.19 contained the method ChartFactory.createBarChart3D. That method is not available in JFreeChart 1.5.0.

Is there another 1.5.0 method that replaces createBarChart3D? Or is there a workaround (maybe including ChartFactory.createBarChart) to build a "3D" chart in 1.5.0? Or do I have to settle for "2D" charts after the upgrade?

JFreeChart 1.5.0's createBarChart does have a "3D-ish" look. Maybe it was decided that the improved createBarChart made createBarChart3D unnecessary?

Upvotes: 6

Views: 1188

Answers (1)

Stefan
Stefan

Reputation: 2395

Yes and no. A noted here in 1.5.0, createBarChart3D is gone but createBarChart has been improved. So you either stay on 1.0.19 and use createBarChart3D, or upgrade to 1.5.0 and use createBarChart (or use another framework for your graphs).

1.5.0's createBarChart has a Mario-Brothers-pipe-3D-effect that (in my opinion) make it look better than 1.0.19's 3D charts. So my recommendation is to go for 1.5.0's createBarChart.

Upvotes: 6

Related Questions