IUiChartGetDataValueEventArgs.Editable

Syntax

Editable: Boolean;

Description

The Editable property determines whether a series value can be edited in this point. If this property is set to False, the UiChart.OnSetDataValue event is not called for this series point.

Example

Sub UiChartOnGetDataValue(Sender: Object; Args: IUiChartGetDataValueEventArgs);
Begin
    Args.Result := True;
    Args.Value := Args.PointIndex + Args.SerieIndex;
    If (Args.SerieIndex = 0Then
        Args.Editable := False;
    End If;
End Sub UiChartOnGetDataValue;

After executing the example a graph consisting of straight lines is built. The number and length of the lines depend on the specified number of series and points on the graph. Editing will be disabled for the first series points.

See also:

IUiChartGetDataValueEventArgs