An axis container. More...

Public Member Functions | |
| int | createYAxis () |
| Creates the Y axis. | |
| IAxis | getXAxis (int id) |
| Gets the X axis for the given id. | |
| IAxis | getYAxis (int id) |
| Gets the Y axis for given index. | |
| IAxis[] | getXAxes () |
| Gets the array of X axes. | |
| IAxis[] | getYAxes () |
| Gets the array of Y axes. | |
| IAxis[] | getAxes () |
| Gets the array of all axes. | |
| int[] | getXAxisIds () |
| Gets the array of X axis ids. | |
| int[] | getYAxisIds () |
| Gets the array of Y axis ids. | |
| void | deleteXAxis (int id) |
| Deletes the X Axis for given axis id. | |
| void | deleteYAxis (int id) |
| Deletes the Y Axis for given id. | |
| void | adjustRange () |
| Adjusts the axis range of all axes. | |
| void | zoomIn () |
| Zooms in all axes. | |
| void | zoomOut () |
| Zooms out all axes. | |
Package Functions | |
| int | createXAxis () |
| Creates the X axis. | |
An axis container.
By default, axis set has X Axis and Y axis with axis id 0.
Definition at line 12 of file IAxisSet.java.
| void org.swtchart.IAxisSet.adjustRange | ( | ) |
Adjusts the axis range of all axes.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.examples.StepChartExample.createChart(), org.swtchart.examples.StackSeriesExample.createChart(), org.swtchart.examples.SeriesLabelExample.createChart(), org.swtchart.examples.ScatterChartExample.createChart(), org.swtchart.examples.OrientationExample.createChart(), org.swtchart.examples.MultipleAxesExample.createChart(), org.swtchart.examples.LogScaleExample.createChart(), org.swtchart.examples.LineChartExample.createChart(), org.swtchart.examples.LargeSeriesExample.createChart(), org.swtchart.examples.ErrorBarsExample.createChart(), org.swtchart.examples.CategoryExample.createChart(), org.swtchart.examples.BarChartExample.createChart(), org.swtchart.examples.AreaChartExample.createChart(), org.swtchart.examples.AngledAxisTickLabelsExample.createChart(), org.swtchart.examples.advanced.SymbolBoundsExample.createChart(), org.swtchart.examples.advanced.PxielToDataConversionExample.createChart(), org.swtchart.examples.advanced.LegendBoundsExample.createChart(), org.swtchart.examples.advanced.DataToPixelConversionExample.createChart(), org.swtchart.examples.advanced.CustomPaintListenerExample.createChart(), org.swtchart.examples.advanced.BarBoundsExample.createChart(), org.swtchart.examples.advanced.AxisTickBoundsExample.createChart(), org.swtchart.examples.RunAllExamples.createList(), org.swtchart.examples.ext.InteractiveChartExample.createPartControl(), org.swtchart.ext.InteractiveChart.handleSelectionEvent(), and org.swtchart.examples.ext.TestChart.main().

| int org.swtchart.IAxisSet.createXAxis | ( | ) | [package] |
Creates the X axis.
This method is used for multiple axes chart.
Implemented in org.swtchart.internal.axis.AxisSet.
| int org.swtchart.IAxisSet.createYAxis | ( | ) |
Creates the Y axis.
This method is used for multiple axes chart.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.examples.MultipleAxesExample.createChart().

| void org.swtchart.IAxisSet.deleteXAxis | ( | int | id | ) |
Deletes the X Axis for given axis id.
The series on the deleted axis will be moved onto the axis id '0'. The axis whose id is '0' cannot be removed.
| id | the axis id |
| IllegalArgumentException | if the given axis id is '0', or if there is no axis for the given id. |
Implemented in org.swtchart.internal.axis.AxisSet.
| void org.swtchart.IAxisSet.deleteYAxis | ( | int | id | ) |
Deletes the Y Axis for given id.
The series on the deleted axis will be moved onto the axis id '0'. The axis whose id is '0' cannot be removed.
| id | the axis id |
| IllegalArgumentException | if the given axis id is '0', or if there is no axis for the given id. |
Implemented in org.swtchart.internal.axis.AxisSet.
| IAxis [] org.swtchart.IAxisSet.getAxes | ( | ) |
Gets the array of all axes.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.examples.advanced.AxisTickBoundsExample.createChart(), org.swtchart.ext.InteractiveChart.handleMouseUpEvent(), org.swtchart.internal.PlotArea.paintControl(), and org.swtchart.internal.ChartLayout.parseControls().

| IAxis [] org.swtchart.IAxisSet.getXAxes | ( | ) |
Gets the array of X axes.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.ext.internal.properties.AxisPage.AxisPage(), org.swtchart.ext.internal.properties.AxisTickPage.AxisTickPage(), org.swtchart.ext.InteractiveChart.getAxes(), org.swtchart.ext.internal.properties.GridPage.GridPage(), org.swtchart.ext.InteractiveChart.handleSelectionEvent(), org.swtchart.internal.ChartLayout.parseControls(), and org.swtchart.internal.series.SeriesSet.updateStackAndRiserData().

| IAxis org.swtchart.IAxisSet.getXAxis | ( | int | id | ) |
Gets the X axis for the given id.
| id | the axis id |
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.internal.series.SeriesSet.compressAllSeries(), org.swtchart.examples.StepChartExample.createChart(), org.swtchart.examples.StackSeriesExample.createChart(), org.swtchart.examples.SeriesLabelExample.createChart(), org.swtchart.examples.ScatterChartExample.createChart(), org.swtchart.examples.OrientationExample.createChart(), org.swtchart.examples.MultipleAxesExample.createChart(), org.swtchart.examples.LogScaleExample.createChart(), org.swtchart.examples.LineChartExample.createChart(), org.swtchart.examples.LargeSeriesExample.createChart(), org.swtchart.examples.CategoryExample.createChart(), org.swtchart.examples.BarChartExample.createChart(), org.swtchart.examples.AngledAxisTickLabelsExample.createChart(), org.swtchart.examples.advanced.PxielToDataConversionExample.createChart(), org.swtchart.examples.ext.InteractiveChartExample.createPartControl(), org.swtchart.internal.series.SeriesSet.createSeries(), org.swtchart.internal.series.Series.draw(), org.swtchart.internal.series.BarSeries.getBounds(), org.swtchart.internal.series.BarSeries.getBoundsForCompressedSeries(), org.swtchart.internal.series.Series.getPixelCoordinates(), org.swtchart.internal.series.Series.getYRange(), org.swtchart.internal.series.Series.isValidStackSeries(), org.swtchart.internal.series.Series.setXAxisId(), org.swtchart.internal.series.Series.setXSeries(), org.swtchart.internal.series.Series.setYSeries(), and org.swtchart.internal.Legend.sort().

| int [] org.swtchart.IAxisSet.getXAxisIds | ( | ) |
Gets the array of X axis ids.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.internal.series.SeriesSet.createSeries(), and org.swtchart.ext.internal.properties.SeriesPage.SeriesPage().

| IAxis [] org.swtchart.IAxisSet.getYAxes | ( | ) |
Gets the array of Y axes.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.ext.internal.properties.AxisPage.AxisPage(), org.swtchart.ext.internal.properties.AxisTickPage.AxisTickPage(), org.swtchart.ext.InteractiveChart.getAxes(), org.swtchart.ext.internal.properties.GridPage.GridPage(), org.swtchart.ext.InteractiveChart.handleSelectionEvent(), org.swtchart.internal.ChartLayout.parseControls(), and org.swtchart.internal.series.SeriesSet.updateStackAndRiserData().

| IAxis org.swtchart.IAxisSet.getYAxis | ( | int | id | ) |
Gets the Y axis for given index.
| id | the axis id |
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.internal.series.SeriesSet.compressAllSeries(), org.swtchart.examples.StepChartExample.createChart(), org.swtchart.examples.StackSeriesExample.createChart(), org.swtchart.examples.SeriesLabelExample.createChart(), org.swtchart.examples.ScatterChartExample.createChart(), org.swtchart.examples.OrientationExample.createChart(), org.swtchart.examples.MultipleAxesExample.createChart(), org.swtchart.examples.LogScaleExample.createChart(), org.swtchart.examples.LineChartExample.createChart(), org.swtchart.examples.LargeSeriesExample.createChart(), org.swtchart.examples.CategoryExample.createChart(), org.swtchart.examples.BarChartExample.createChart(), org.swtchart.examples.advanced.PxielToDataConversionExample.createChart(), org.swtchart.examples.advanced.DataToPixelConversionExample.createChart(), org.swtchart.internal.series.Series.draw(), org.swtchart.internal.series.BarSeries.getBoundsForCompressedSeries(), org.swtchart.internal.series.Series.getPixelCoordinates(), org.swtchart.internal.series.Series.isValidStackSeries(), org.swtchart.internal.series.Series.setYSeries(), and org.swtchart.internal.series.SeriesSet.updateStackAndRiserData().

| int [] org.swtchart.IAxisSet.getYAxisIds | ( | ) |
Gets the array of Y axis ids.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.internal.series.SeriesSet.createSeries(), and org.swtchart.ext.internal.properties.SeriesPage.SeriesPage().

| void org.swtchart.IAxisSet.zoomIn | ( | ) |
Zooms in all axes.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.ext.InteractiveChart.handleKeyDownEvent(), and org.swtchart.ext.InteractiveChart.handleSelectionEvent().

| void org.swtchart.IAxisSet.zoomOut | ( | ) |
Zooms out all axes.
Implemented in org.swtchart.internal.axis.AxisSet.
Referenced by org.swtchart.ext.InteractiveChart.handleKeyDownEvent(), and org.swtchart.ext.InteractiveChart.handleSelectionEvent().

1.6.1