KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > dinamica > charts > HorizontalBarChart3D


1 package dinamica.charts;
2
3 import org.jfree.chart.plot.*;
4
5
6 /**
7  * Chart plugin for Horizontal Bar3D charts with multiseries support
8  * Last update: 24/july/2005
9  * @author Martin Cordova (dinamica@martincordova.com)
10  */

11 public class HorizontalBarChart3D extends VerticalBarChart3D
12 {
13
14     public void configurePlot(Plot p)
15     {
16         super.configurePlot(p);
17         CategoryPlot plot = (CategoryPlot)p;
18         plot.setOrientation(PlotOrientation.HORIZONTAL);
19         plot.setDomainGridlinesVisible(false);
20     }
21
22 }
23
Popular Tags