Enabled: Boolean;
The Enabled property determines whether the object should be plotted. This property is set to True if the object should be plotted, and to False if the object should not be plotted.
NOTE. This property is used to disable plotting report chart or map. This enables you to reduce memory usage.
Executing the example requires a form with a button with the Button1 identifier on the form, the UiErAnalyzer component with the UiErAnalyzer1 identifier used as a data source for the TabSheetBox and ChartBox components. An express report should be loaded to UiErAnalyzer1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
erAn: IEaxAnalyzer;
eaxObj: IEaxChart;
Begin
erAn := UiErAnalyzer1.ErAnalyzer;
eaxObj := erAn.Chart;
eaxObj.Enabled := False;
End Sub Button1OnClick;
After executing the example chart plotting is disabled.
See also: