ShowSerieFormatDialog(Chart: IChart; Index: Integer; Parent: IWin32Window);
Chart.
Index: Index of the series parameters of which are to be changed.
Parent - a dialog box, for which this dialog box will be modal.
The ShowSerieFormatDialog method opens the Data Series Format dialog box for a specified chart series.
To execute this example a regular report is required. Active sheet of the report contains a chart with the identifier Chart1.
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 is displayed for the first series of the specified chart.
See also: