IChartExporter.Scale

Syntax

Scale: Double;

Description

The Scale property determines zoom of the chart to be exported.

Comments

Increases the scale in a given number of times. The property can be any value above zero.

Example

To execute this example, there should be 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;

Exp.Scale := 0.5;

ImageBox1.Image := Exp.GetBitmap;

End Sub Button1OnClick;

After clicking the button graphic presentation of a chart used in the express report is loaded to the ImageBox1 component using the specified scale.

See also:

IChartExporter