CWAxis
The CWAxis object defines the axis for slide, knob, and graph controls. The CWAxis properties determine how data values are scaled to the range displayed on the control, where ticks and grid lines are drawn (if used), and what kinds of labels are placed on the axis.
While some properties are valuable features in a particular control, such as grid lines on the graph, those properties might not be useful or valid for other controls.
Properties
AutoScale | Determines if the minimum and maximum limits of the axis are automatically set. |
Caption | Specifies the text to draw on the axis. |
CaptionColor | Specifies the color used to draw the caption. |
Discrete | Represents only discrete values on the axis, according to the base and interval properties. |
DiscreteBase | Specifies the base value for discrete axes. |
DiscreteInterval | Specifies the interval between discrete values. |
FormatString | Specifies the format string for formatting the labels on the axis. |
Inverted | Specifies if the direction of an axis is inverted. |
Labels | Returns a CWLabel object, which specifies how labels appear on the axis. |
Log | Specifies if the axis has a Log10 scale. |
Maximum | Specifies the maximum value of the axis. |
Minimum | Specifies the minimum value of the axis. |
Name | Specifies the name of the axis. |
ScaleStyleValuePairsOnly | Specifies if only the value pairs are displayed on the axis. |
Ticks | Returns a CWTicks object, which specifies how divisions and ticks appear on this axis. |
ValuePairs | Returns a CWValuePairs collection of CWValuePair objects, which specify labels for particular points on the axis. |
Visible | Specifies if the axis is visible or hidden. |
Methods
AutoScaleNow | Causes the axis to rescale immediately. |
SetMinMax | Sets both the minimum and the maximum values of the axis at the same time. |