IChartExporter.Chart

Syntax

Chart: IChart;

Description

The Chart property determines a chart for export.

Example

Executing the example requires a form for a button with the name Button1 and the UiErAnalyzer and ImageBox components with the names UiErAnalyzer1 and ImageBox1 respectively.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Chart: IChart;

Exp: IChartExporter;

Begin

Chart := UiErAnalyzer1.ErAnalyzer.Chart.Chart;

Exp := New ChartExporter.Create;

Exp.Chart := Chart;

ImageBox1.Image := Exp.GetBitmap;

End Sub Button1OnClick;

Clicking the button will load a graphic presentation of a chart, used in the express report, to the ImageBox1 component.

See also:

IChartExporter