MaxXAxisLabels Property

The MaxXAxisLabels property applies only to the Line/Multiline Enhanced Chart. This property allows you to specify the maximum number of labels (for the time and date) to be displayed on the X axis for this type of chart. If the width of the chart is not sufficient to accommodate this number without creating additional rows, fewer will be displayed.

When maximum is set to anything other than 0, the placement of labels starts at the most current time (greatest time) and then is spaced evenly towards the left. In most cases, there will not be a label lined up with the extreme left-side of the plot; the only time this is guaranteed to happen is when the maximum is set to 2. The labels will always display in a single line except for a value of 0, in which case the values may appear in two or more rows.

Syntax

object.MaxXAxisLabels [= Long]

Properties

The MaxXAxisLabels property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Long

Whole number, from 0 – 20, representing the maximum number of labels for the time and date to be displayed on the X axis.

The chart logic calculates the number of labels to display on the X axis based on settings such as chart size, duration, and number of points. However, when a maximum number is specified, the user can have partial control over this logic not to display more than the specified number of labels regardless of the chart configuration.

If 0 is selected, the MaxXAxisLabels is considered to be “Unspecified” and the labels are displayed as they were before iFIX 5.5, and may appear in two or more rows. A value of “Unspecified” means the label spacing is automatically controlled by the chart.

For pictures created before iFIX 5.5, the default value is 0. For all other pictures, the default value is 10.

 

Applies To