IUiChartClass.ShowFormatConstructDialog

Syntax

ShowFormatConstructDialog(GraphArea: IChartGraphArea; Parent: IWin32Window);

Parameters

GraphArea - chart plot area.

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

Description

The ShowFormatConstructDialog method opens the Plot Area Format dialog box.

Example

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

Sub FormatConstructDialog;
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.ShowFormatConstructDialog(Chart.GraphArea, Wnd);
End Sub FormatConstructDialog;

This example is a regular report macro. After executing the macro the Plot Area Format dialog box opens for the specified chart.

See also:

IUiChartClass