IExAnalyzerExporter.GetChartExporter

Syntax

GetChartExporter: IChartExporter;

Description

The GetChartExporter method creates an object to export the express report chart.

Example

Sub UserProc;
Var
    Mb: IMetabase;
    Analyzer: IEaxAnalyzer;
    Exp: IExAnalyzerExporter;
    ChartExp: IChartExporter;
Begin
    MB := MetabaseClass.Active;
    Analyzer := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
    Exp := New ExAnalyzerExporter.Create;
    Exp.ExAnalyzer := Analyzer;
    Analyzer.Grid.Refresh;
    ChartExp := Exp.GetChartExporter;
    ChartExp.Chart := Analyzer.Chart.Chart;
    ChartExp.ExportToFile("c:\chart.jpg""JPG");
End Sub UserProc;

After executing the example the express report chart is exported to JPG format. Express report identifier: EXPRESS_REPORT.

See also:

IExAnalyzerExporter