ApLegendColumnTypeEnum (enum)

Specifies the types of legend columns.
Description: ApLegendColumnTypeEnum defines the following types of legend columns for both the series legend and the sliders legend:
Values:
apLegendSeriesName - Shows the name of a series. This type is only allowed in the series legend.

You do not need to specify any parameters in CimLegendColumn.
apLegendSeriesValueAtIndex - Shows the data value at a particular index in a series data vector. This type is only allowed in the series legend.

You need to specify the following parameters in CimLegendColumn:

CimLegendColumn.Index - The data value index.

CimLegendColumn.ShowX - True to show X data or False to show Y data.

Example

You have a series with 100 X and Y data values. This means that you can specify an index from 0 to 99. If you specify index 27 and show X data values, the 28th X data value will be displayed.
apLegendSeriesValueAtSlider - Shows the data value that is intersected by a particular slider in a series data. This type is only allowed in the series legend.

You need to specify the following parameters in CimLegendColumn:

CimLegendColumn.Index - The index of the slider you want to use. The index is the position of the slider in the slider collection.

The type of data (X or Y) that displays depends on which type of slider you choose:

apSliderVertical - If you choose a vertical slider, the interesected Y data value shows. This is because a vertical slider moves across the X axis. Therefore, for each X data value that the slider is at, you have a Y data value on the series data vector. If there is more than one intersected Y data value, the data value that is displayed is the first intersected data value found from the end to the beginning of the data vector.

apSliderHorizontal - If you choose a horizontal slider, the interesected X data value shows. This is because a horizontal slider moves across the Y axis. Therefore, for each Y data value that the slider is at, you have an X data value on the series data vector. If there is more than one intersected X data value, the data value that is displayed is the first intersected data value found from the end to the beginning of the data vector.
apLegendSliderName - Shows the slider name. This type is only allowed in the slider legend. Currently, the name is a number, which is automatically assigned to each horizontal or vertical slider, based on the order in which they were created. Making each slider a different color can help with identification.

You do not need to specify any parameters in CimLegendColumn.
apLegendSliderValue - Shows the the value of the slider with respect to an axis. This type is only allowed in the slider legend.

You need to specify the following parameters in CimLegendColumn:

CimLegendColumn.Index - The index of the axis you want to use. The index is the position of the axis in the axis collection. For a vertical slider the axis must be an X axis. For a horizontal slider the axis must be a Y axis.
apLegendColor - Shows the color of the series or slider in the legend row.