An example for scatter 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[] | xSeries |
static final double[] | ySeries |
An example for scatter chart.
Definition at line 16 of file ScatterChartExample.java.
static Chart org.swtchart.examples.ScatterChartExample.createChart | ( | Composite | parent | ) | [static] |
create the chart.
parent | The parent composite |
Definition at line 54 of file ScatterChartExample.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.ILineSeries.setLineStyle(), org.swtchart.ITitle.setText(), org.swtchart.ISeries.setXSeries(), org.swtchart.ISeries.setYSeries(), org.swtchart.examples.ScatterChartExample.xSeries, and org.swtchart.examples.ScatterChartExample.ySeries.
Referenced by org.swtchart.examples.ScatterChartExample.main().
static void org.swtchart.examples.ScatterChartExample.main | ( | String[] | args | ) | [static] |
The main method.
args | the arguments |
Definition at line 29 of file ScatterChartExample.java.
References org.swtchart.examples.ScatterChartExample.createChart().
final double [] org.swtchart.examples.ScatterChartExample.xSeries [static, private] |
{ 0.0, 2.6, 6.5, 4.4, 5.6, 4.3, 3.4, 10.8, 2.1, 8.9 }
Definition at line 18 of file ScatterChartExample.java.
Referenced by org.swtchart.examples.ScatterChartExample.createChart().
final double [] org.swtchart.examples.ScatterChartExample.ySeries [static, private] |
{ 1.3, 0.0, 3.9, 2.6, 1.1, 0.6, 3.1, 3.5, 5.6, 4.4 }
Definition at line 20 of file ScatterChartExample.java.
Referenced by org.swtchart.examples.ScatterChartExample.createChart().