Editable: Boolean;
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.
Sub UiChartOnGetDataValue(Sender: Object; Args: IUiChartGetDataValueEventArgs);
Begin
Args.Result := True;
Args.Value := Args.PointIndex + Args.SerieIndex;
If (Args.SerieIndex = 0) Then
Args.Editable := False;
End If;
End Sub UiChartOnGetDataValue;
Executing the example plots a chart, comprising direct lines, which number and length depend on the specified number of graph series and points. Editing will be disabled for the first series points.
See also: