IUiChartClass.ShowSerieFormatDialog

Syntax

ShowSerieFormatDialog(Chart: IChart; Index: Integer; Parent: IWin32Window);

Parameters

Chart - chart.

Index - index of the series, which parameters must be changed.

Parent - dialog box, for which this dialog box opens modally.

Description

The ShowSerieFormatDialog method opens the Data Series Format dialog box for the specified chart series.

Example

Executing the example requires a regular report. The active sheet of the report contains a chart with the Chart1 identifier.

Sub SerieFormatDialog;
Var
    Wnd: IWin32Window;
    Sheet: IPrxSheet;
    Chart: IChart;
Begin
    Wnd := WinApplication.Instance.Windows.ForegroundWindow;
    Sheet := PrxReport.ActiveReport.ActiveSheet;
    Chart := (Sheet As IPrxTable).TabSheet.Objects.Object("Chart1"As IChart;
    UiChartClass.ShowSerieFormatDialog(Chart, 0, Wnd);
End Sub SerieFormatDialog;

This example is a regular report macro. After executing the macro the Data Series Format dialog box opens for the first series of the specified chart.

See also:

IUiChartClass