IChart.IsDirty

Syntax

IsDirty: Boolean;

Fore.NET Syntax

IsDirty: System.Boolean;

Description

The IsDirty property determines whether chart parameters have been changed.

Comments

If the property is set to True, chart parameters have been changed. The False value indicates that no changes have been made.

Fore Example

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.

Fore.NET Example

To execute the example, create 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.IsDirty);
End Sub;

Clicking the Button1 button displays information on changes in the chart parameters in the console window.

See also:

IChart