Class ChartDataEditSettings
Options to customize the drag settings for series.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartDataEditSettings : ChartSubComponent, ISubcomponentTracker
Constructors
ChartDataEditSettings()
Declaration
public ChartDataEditSettings()
Properties
Enable
Gets or sets a value indicating whether to enable data editing by dragging the point.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if data editing is enabled; otherwise, false. The default value is false. |
Remarks
When set to true, users can interactively edit data points by dragging them on the chart.
Fill
Gets or sets the color for the edited point.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the color of the edited point. |
Remarks
The Fill property specifies the color of the point interior which will be assigned while dragging and will remain for the edited point.
This property accepts values in hex and rgba as a valid CSS color string.
Note: It is not applicable to line-based series types such as Line, Step Line, and Spline.
MaxY
Gets or sets the maximum Y value to which the point can be dragged for data editing.
Declaration
public double MaxY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is System.Double.NaN. |
Remarks
This property helps control the upper limit for the Y-axis when interactively editing data points on the chart.
MinY
Gets or sets the minimum Y value to which the point can be dragged for data editing.
Declaration
public double MinY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is System.Double.NaN. |
Remarks
This property helps control the lower limit for the Y-axis when interactively editing data points on the chart.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()