ChartDirector Ver 4.1 (PHP Edition Edition)

Axis

The Axis class represents x and y axes in XY charts.

Method | Inherited | Description
--- | --- | ---
setLabelStyle | (Self) | Sets the font style used to for the axis labels.
setLabelFormat | (Self) | Sets the format for numeric or date/time axis labels.
setMultiFormat | (Self) | Sets multiple formats for numeric or date/time axis labels.
setMultiFormat2 | (Self) | Adds one filter and format string to the multi-format lists.
setFormatCondition | (Self) | Specifies the condition that subsequent Axis.setLabelFormat and Axis.setMultiFormat will become applicable.
setLabelGap | (Self) | Sets the distance between the axis labels and the ticks on the axis.
setLabelOffset | (Self) | Shifts the axis labels from its default position along the axis.
setTitle | (Self) | Adds a title to the axis.
setTitlePos | (Self) | Sets the position of the axis title relative to the axis.
setColors | (Self) | Sets the colors of the axis itself, axis label, axis title and axis ticks.
setTickLength | (Self) | Sets the length of the axis ticks.
setTickLength2 | (Self) | Sets the length of the major and minor axis ticks.
setTickWidth | (Self) | Sets the width of the axis ticks.
setTickColor | (Self) | Sets the colors of the axis ticks.
setTickOffset | (Self) | Shifts the position of the ticks along the axis.
setMinTickInc | (Self) | Sets the minimum distance between two ticks on the axis for auto-scaled axis.
setWidth | (Self) | Sets the line width of the axis.
setMargin | (Self) | Reserve margins at the ends of the axis.
setIndent | (Self) | Specifies if the axis should be "indented" or not.
setAutoScale | (Self) | Sets the margins at the two ends of the axis during auto-scaling, and whether to start the axis from zero.
setRounding | (Self) | Controls whether to round the ends of the axis to align with tick positions.
setTickDensity | (Self) | Sets the density of the axis ticks.
setReverse | (Self) | Reverse the axis.
setLabels | (Self) | Sets the text labels to be used on the axis.
setLabels2 | (Self) | Sets the numeric/date/time labels to be used on the axis.
setLabelStep | (Self) | Shows a regularly spaced subset of the axis labels on the axis.
setLinearScale | (Self) | Sets the axis to use the given linear scale.
setLinearScale2 | (Self) | Sets the axis to use the given linear scale and the given labels.
setLinearScale3 | (Self) | Sets the axis to use linear auto-scale.
setLogScale | (Self) | Sets the axis to use the given logarithmic scale.
setLogScale2 | (Self) | Sets the axis to use the given logarithmic scale and the given labels.
setLogScale3 | (Self) | Sets the axis to use logarithmic auto-scale.
setDateScale | (Self) | Sets the axis to use the given date scale.
setDateScale2 | (Self) | Sets the axis to use the given date scale and the given labels.
setDateScale3 | (Self) | Sets the axis to use date auto-scale.
syncAxis | (Self) | Synchronizes this axis with another axis using a linear formula.
copyAxis | (Self) | Copies the scale and labels from another axis.
addLabel | (Self) | Adds an extra label on the axis.
addMark | (Self) | Adds a mark line to the chart.
addZone | (Self) | Adds a zone to the chart.
getMinValue | (Self) | Gets the lower bound of the axis.
getMaxValue | (Self) | Gets the upper bound of the axis.
getTicks | (Self) | Gets the values of the ticks.
getLabel | (Self) | Gets the label at the specified position on the axis.
getHTMLImageMap | (Self) | Generates an HTML image map for the axis labels.
getAxisImageMap | (Self) | Generates an HTML image map for the axis itself.

© 2006 Advanced Software Engineering Limited. All rights reserved.