Width Property
Syntax
CWLabels.Width
Data Type
Purpose
Specifies the width of a label on the axis.
Remarks
Use the Width property to ensure that the axis is wide enough for a complete label. The Width property also determines the placement of automatic tick marks.
Set the Width to 0 for the axis to automatically set the width. Set the Width to a value greater than 0 to specify the number of digits to reserve on the axis for each label.
On the CWKnob control, the width controls the size of the knob by allowing more or less room for labels. Setting the width to 0 causes the CWKnob to select a default size independent of the labels.
Example
'Fix the width of the y axis at 5 characters
CWGraph1.Axes.Item(2).Labels.Width = 5
'Fix the size of the knob to account for labels of 3 characters
CWKnob1.Axis.Labels.Width = 3