IsDirty: Boolean;
The IsDirty property determines whether chart parameters have been changed.
If the property is set to True, chart parameters have been changed. The False value indicates that no changes have been made.
To execute the example, create 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.IsDirty);
End Sub Button1OnClick;
Clicking the Button1 button displays information on changes in the chart parameters in the console window.
See also: