Axis Class
The Axis class represents an axis on a graph. It can be used to customize the axis style and representation.
Some attributes can be read and changed with get and set :
axiscolor: Change the color of the axis and tick marks.hidden: Change the visibility (Boolean true) is hidden.label: Change the axis label.labelcolor: Change the color of the label.labelvalues: Display LABELS or NUMBERS (for label axes).max: Maximum limit.min: Minimum limit.order: The direction (INCREASING or DECREASING) of the axis.scale: The scale (LINEAR or LOGARITHMIC) of the axis.stepsize: Step size.subdivisions: Subdivisions between ticks.tickorient: The direction (VERTICAL or HORIZONTAL) of the tick labels.zoomlock: Lock the axis to block zooming.
Public Functions
Detailed Functions Descriptions
get
get{ attribute }
Get an attribute of the axis. See the list of attributes in the Axis description.
Parameters :
attribute: The attribute name to fetch.
Return : The attribute value.
move
move{ position }
Move the axis closest or furthest from the plot area.
Parameters :
position: The position of the axis (CLOSESTorFURTHEST)
set
set{ attribute value }
Set an attribute of the axis. See the list of attributes in the Axis description.
Parameters :
-
attribute: The attribute name to set. -
value: The value to set to the attribute.