LanerResultsBox.OnChartChanged

Syntax

Sub OnChartChanged(Sender: Object; Args: ILanerResultsBoxChartChangedEventArgs);
Begin
    // set of operators
End Sub OnChartChanged;

Parameters

Sender. Parameter returning the component that generated the event

Args. Parameter allowing to determine event parameters.

Description

The OnChartChanged event occurs on changing an express report chart.

Comments

The event occurs on editing the chart, for example, by points or by drawing.

Example

Executing the example requires a form containing the LanerResultsBox component with the LanerResultsBox1 identifier and the UiErAnalyzer component with the UiErAnalyzer1 identifier, that is a data source for the LanerResultsBox1 component. An express report saved on the sheet with the chart must be loaded to the UiErAnalyzer1 component.

The example is a handler of the OnChartChanged event for the LanerResultsBox1 component.

Sub LanerResultsBox1OnChartChanged(Sender: Object; Args: ILanerResultsBoxChartChangedEventArgs);
Begin
    text := text + "1";
End Sub LanerResultsBox1OnChartChanged;

After executing the example the 1 symbol is added after each change of the chart to the string that identifies the LanerResultsBox1 component.

See also:

LanerResultsBox.OnChartChanged