An example for chart with stack series. 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[] | ySeries1 = { 1.3, 2.4, 3.9, 2.6, 1.1 } |
| static final double[] | ySeries2 = { 3.0, 2.1, 1.9, 2.3, 3.2 } |
An example for chart with stack series.
Definition at line 15 of file StackSeriesExample.java.
| static Chart org.swtchart.examples.StackSeriesExample.createChart | ( | Composite | parent | ) | [static] |
create the chart.
| parent | The parent composite |
Definition at line 51 of file StackSeriesExample.java.
References org.swtchart.IAxisSet.adjustRange(), org.swtchart.ISeriesSet.createSeries(), org.swtchart.IAxis.enableCategory(), org.swtchart.ISeries.enableStack(), 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.IBarSeries.setBarColor(), org.swtchart.IAxis.setCategorySeries(), org.swtchart.ITitle.setText(), org.swtchart.ISeries.setYSeries(), org.swtchart.examples.StackSeriesExample.ySeries1, and org.swtchart.examples.StackSeriesExample.ySeries2.
Referenced by org.swtchart.examples.StackSeriesExample.main().


| static void org.swtchart.examples.StackSeriesExample.main | ( | String[] | args | ) | [static] |
The main method.
| args | the arguments |
Definition at line 26 of file StackSeriesExample.java.
References org.swtchart.examples.StackSeriesExample.createChart().

final double [] org.swtchart.examples.StackSeriesExample.ySeries1 = { 1.3, 2.4, 3.9, 2.6, 1.1 } [static, private] |
Definition at line 17 of file StackSeriesExample.java.
Referenced by org.swtchart.examples.StackSeriesExample.createChart().
final double [] org.swtchart.examples.StackSeriesExample.ySeries2 = { 3.0, 2.1, 1.9, 2.3, 3.2 } [static, private] |
Definition at line 18 of file StackSeriesExample.java.
Referenced by org.swtchart.examples.StackSeriesExample.createChart().
1.6.1