Changed: Boolean;
Changed: System.Boolean;
The Changed property returns whether the current chart is changed.
This property returns the following values:
True. The chart parameters have changed.
False. The chart parameters have not changed or the editing has been canceled.
Executing this 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 displays information on changes in the chart in the console window.
Executing this example requires a form with a button named Button1 on the form, the ChartBoxNet component and the UiChartNet component that is a data source.
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Chart;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Chart : IChart;
Begin
Chart := UiChartNet1.ChartUi.Chart;
Chart.CircleInfoEx.ShowMode:= ChartSecondaryShowMode.cssmOnlySecondary;
Chart.MakeBlackAndWhite();
System.Diagnostics.Debug.WriteLine(Chart.Changed);
End Sub;
Clicking the Button1 displays information on changes in the chart in the console window.
See also: