Class ChartDefaultConnector
Provides options for customizing the connector line style.
Implements
Inherited Members
Namespace: Syncfusion.Blazor.Toolkit.Charts
Assembly: Syncfusion.Blazor.Toolkit.dll
Syntax
public class ChartDefaultConnector : ChartSubComponent, IAsyncDisposable, ISubcomponentTracker
Constructors
ChartDefaultConnector()
Declaration
public ChartDefaultConnector()
Properties
Color
Gets or sets the color of the connector line.
Declaration
public virtual string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A string representing the color of the connector line. The default value is "black". |
Remarks
Accepts values in hex or rgba as a valid CSS color string. It allows customization of the connector line to match the chart's theme or styling preferences.
DashArray
Gets or sets the dashArray for the connector line.
Declaration
public string DashArray { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A string representing the dashArray for the connector line. The default value is null. |
Remarks
The DashArray property allows customization of the connector line by specifying a dash pattern. This string value defines the pattern of dashes and gaps in the line. For example, "4,2" represents a dash of length 4 followed by a gap of length 2.
Width
Gets or sets the width of the connector line.
Declaration
public virtual double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | A double value representing the width of the connector line. The default value is 1. |
Remarks
Adjust this property to change the thickness of the connector line for better visibility or styling.