EnableSecondary: Boolean;
The EnableSecondary property determines whether the secondary chart is displayed. If the property value is True, the secondary chart is displayed, if the value is False, the chart is not displayed.
The property is outdated, use IChartCircleExInfo.ShowMode.
This example requires a regular report sheet with a chart on it.
Sub My;
Var
C: IChart;
CircleEx: IChartCircleExInfo;
Begin
C := (PrxReport.ActiveReport.ActiveSheet.Table.Objects.Item(0).Extension As IChart);
C.Type := ChartType.SecondaryBars;
CircleEx := C.CircleInfoEx;
CircleEx.EnableSecondary := False;
PrxReport.ActiveReport.ActiveSheet.Recalc;
End Sub My;
After executing the example the secondary chart is not displayed:
See also: