ILanerCalculateSerie.ReleaseValues

Syntax

ReleaseValues;

Description

The ReleaseValues method determines the series points display mode, in which the calculated values of the points are displayed in the workbook.

Comments

To restore the previous state of the series points the series needs to be updated using the ILanerCalculateSerie.RefreshData method.

The values display mode can be changed using the ILanerCalculateSerie.DisplayDataAs property.

Example

Executing this example requires a form with the Button1 button, the LanerBox component with the LanerBox1 identifier, and the UiErAnalyzer component used as a data source for LanerBox. The time series database workbook, that contains the calculated data series must be loaded to UiErAnalyzer. Also the mode of highlighting the cells, which stored values differ from the calculated ones, is turned on in the workbook.

Select only one calculated series in the workbook and click on the Button1 button. The following procedure is executed:

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Serie: ILanerCalculateSerie;
Begin
    If LanerBox1.SelectedSeriesCount > 0 Then
        Serie := LanerBox1.SelectedSeries(0As ILanerCalculateSerie;
        If Serie <> Null Then
            Serie.ReleaseValues;
        End If;
    End If;
End Sub Button1OnClick;

After executing the example for the selected series the factor indicating,  that the series stored values differ from the calculated ones, is reset.

See also:

ILanerCalculateSerie