An example for bar chart. More...
Static Public Member Functions | |
static void | main (String[] args) |
The main method. | |
static Chart | createChart (Composite parent) |
create the chart. | |
Static Private Attributes | |
static final double[] | ySeries |
An example for bar chart.
Definition at line 15 of file BarChartExample.java.
static Chart org.swtchart.examples.BarChartExample.createChart | ( | Composite | parent | ) | [static] |
create the chart.
parent | The parent composite |
Definition at line 51 of file BarChartExample.java.
References org.swtchart.IAxisSet.adjustRange(), org.swtchart.ISeriesSet.createSeries(), org.swtchart.Chart.getAxisSet(), org.swtchart.Chart.getSeriesSet(), org.swtchart.IAxis.getTitle(), org.swtchart.Chart.getTitle(), org.swtchart.IAxisSet.getXAxis(), org.swtchart.IAxisSet.getYAxis(), org.swtchart.ITitle.setText(), org.swtchart.ISeries.setYSeries(), and org.swtchart.examples.BarChartExample.ySeries.
Referenced by org.swtchart.examples.BarChartExample.main().
static void org.swtchart.examples.BarChartExample.main | ( | String[] | args | ) | [static] |
The main method.
args | the arguments |
Definition at line 26 of file BarChartExample.java.
References org.swtchart.examples.BarChartExample.createChart().
final double [] org.swtchart.examples.BarChartExample.ySeries [static, private] |
{ 0.2, 1.1, 1.9, 2.3, 1.8, 1.5, 1.8, 2.6, 2.9, 3.2 }
Definition at line 17 of file BarChartExample.java.
Referenced by org.swtchart.examples.BarChartExample.createChart().