org.eclipse.birt.chart.script.api.component
Interface IAxis

All Superinterfaces:
IChartComponent

public interface IAxis
extends IChartComponent

Represents the Axis of a Chart in the scripting environment


Method Summary
 IMarkerLine[] getMarkerLines()
          Gets all marker lines in Axis
 IMarkerRange[] getMarkerRanges()
          Gets all marker ranges in Axis
 IScale getScale()
          Gets theScale for axis scaling
 java.lang.String getType()
          Gets the name of AxisType.
 void setType(java.lang.String type)
          Sets AxisType by name.
 
Methods inherited from interface org.eclipse.birt.chart.script.api.component.IChartComponent
getTitle, isVisible, setVisible
 

Method Detail

getScale

public IScale getScale()
Gets theScale for axis scaling

Returns:
Scale

getMarkerLines

public IMarkerLine[] getMarkerLines()
Gets all marker lines in Axis

Returns:
an array of marker lines

getMarkerRanges

public IMarkerRange[] getMarkerRanges()
Gets all marker ranges in Axis

Returns:
an array of marker ranges

getType

public java.lang.String getType()
Gets the name of AxisType. Return values are an enumeration including "Text", "Linear", "Logarithmic" and "DateTime". Default value is "Linear".

Returns:
the name of AxisType
See Also:
org.eclipse.birt.chart.model.attribute.AxisType

setType

public void setType(java.lang.String type)
Sets AxisType by name. Names are an enumeration including "Text", "Linear", "Logarithmic" and "DateTime". Default value is "Linear". If the AxisType name is invalid, will set the default value.

Parameters:
type - the name of AxisType
See Also:
org.eclipse.birt.chart.model.attribute.AxisType


Copyright © 2005-2007 Actuate Corp. All rights reserved.