Class MarkerSettingModel
Represents the chart marker settings, utilized for customizing the marker appearance in chart components.
Inheritance
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class MarkerSettingModel : Object
Constructors
MarkerSettingModel()
Declaration
public MarkerSettingModel()
Properties
Border
Gets or sets the border properties for the marker.
Declaration
public ChartEventBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartEventBorder | A ChartEventBorder object representing the border values for the marker. |
Remarks
The border includes color and width details, enhancing the marker's visual outline and prominence on the chart.
Fill
Gets or sets the fill color of the marker.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string value representing the fill color of the marker. The default value is null. |
Remarks
The fill color provides a distinctive interior color to the marker, enhancing differentiation and visibility on the chart.
Height
Gets or sets the height of the marker.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts a double value representing the height of the marker. The default value is 5. |
Remarks
The height of the marker controls the vertical dimension of the marker, contributing to its overall size and appearance.
Shape
Gets or sets the shape of the marker.
Declaration
public ChartShape Shape { get; set; }
Property Value
Type | Description |
---|---|
ChartShape | One of the ChartShape enumeration values that specifies the shape of the marker. The default shape is ChartShape.Auto. |
Remarks
The marker shape provides a visual representation of data points on the chart and can be customized to fit the design requirements.
Visible
Gets or sets the visibility of the marker in the chart.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This property determines whether the marker is displayed on the chart, allowing for dynamic visibility control based on chart requirements.
Width
Gets or sets the width of the marker.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts a double value representing the width of the marker. The default value is 5. |
Remarks
The width of the marker affects its horizontal dimension, contributing to its overall size and appearance.