org.swtchart.IAxisSet Interface Reference

An axis container. More...

Inheritance diagram for org.swtchart.IAxisSet:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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().

Here is the caller graph for this function:

int org.swtchart.IAxisSet.createXAxis (  )  [package]

Creates the X axis.

This method is used for multiple axes chart.

Returns:
the axis id

Implemented in org.swtchart.internal.axis.AxisSet.

int org.swtchart.IAxisSet.createYAxis (  ) 

Creates the Y axis.

This method is used for multiple axes chart.

Returns:
the axis id

Implemented in org.swtchart.internal.axis.AxisSet.

Referenced by org.swtchart.examples.MultipleAxesExample.createChart().

Here is the caller graph for this function:

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.

Parameters:
id the axis id
Exceptions:
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.

Parameters:
id the axis id
Exceptions:
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 (  ) 
IAxis [] org.swtchart.IAxisSet.getXAxes (  ) 
IAxis org.swtchart.IAxisSet.getXAxis ( int  id  ) 

Gets the X axis for the given id.

Parameters:
id the axis id
Returns:
the X axis for the given axis id, or null if there is no corresponding axis.

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().

Here is the caller graph for this function:

int [] org.swtchart.IAxisSet.getXAxisIds (  ) 

Gets the array of X axis ids.

Returns:
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().

Here is the caller graph for this function:

IAxis [] org.swtchart.IAxisSet.getYAxes (  ) 
IAxis org.swtchart.IAxisSet.getYAxis ( int  id  ) 
int [] org.swtchart.IAxisSet.getYAxisIds (  ) 

Gets the array of Y axis ids.

Returns:
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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:


The documentation for this interface was generated from the following file:

Generated on 26 Oct 2015 for SWTChart.org by  doxygen 1.6.1