CimAxis.Format (property)

Gets and sets the object responsible for configuring how numbers are displayed.
Syntax: Set CimNumberFormat = object.Format
object.Format = CimNumberFormat
Description: CimAxis.Format contains the object responsible for configuring how numbers are displayed on the axis ticks. and on legend columns that display numeric values (apLegendSeriesValueAtSlider, apLegendSeriesValueAtIndex and apLegendSliderValue).

On a legend column of type apLegendSeriesValueAtSlider, the series' X axis is used on a vertical slider and the series' Y axis is used on a horizontal slider.

On a legend column of type apLegendSeriesValueAtIndex, the series' X axis is used when the legend column's ShowX property is set to True and the series' Y axis is used when it is set to False.

On a legend column of type apLegendSliderValue, the X axis at the index specified by the legend column's Index property is used when the slider is vertical and the Y axis at the index specified by the legend column's Index property is used when the slider is horizontal.

Example

The following CimView script excerpt changes the format on the first X axis:
cimOleObj.X(0).Format.Type = apNumberFixed