Changed: Boolean;
The Changed property returns whether the current chart is changed.
The property returns the following values:
True. Chart parameters have been changed.
False. Chart parameters have not been changed or editing has been canceled.
Executing the example requires a form with a button named Button1 on the form, the ChartBox component and the UiChart component that is a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Chart: IChart;
Begin
Chart:= UiChart1.Chart;
Chart.CircleInfoEx.ShowMode:= ChartSecondaryShowMode.OnlySecondary;
Chart.MakeBlackAndWhite;
debug.WriteLine(Chart.Changed);
End Sub Button1OnClick;
Clicking the Button1 button displays information on changes in the chart in the console window.
See also: