IChartCircleExInfo.ShowMode

Syntax

ShowMode : ChartSecondaryShowMode;

Description

The ShowMode property determines secondary chart display modes.

Comments

Selecting the OnlyPrimary and OnlySecondary display modes displays the icons of the series currently shown on the chart. The CollapseLegendItems checkbox does not affect how the icons are displayed in the legend.

Example

Executing the example requires a form with a button named Button1 on the form, the ChartBox component and the UiChart component that is a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    // Select chart type: Secondary bar chart
    UiChart1.Chart.Type := ChartType.SecondaryBars;
    // Set up primary chart display only
    UiChart1.Chart.CircleInfoEx.ShowMode := ChartSecondaryShowMode.OnlyPrimary;
End Sub Button1OnClick; 

Clicking the Button1 button displays the primary chart only.

See also:

IChartCircleExInfo