Class ChartDefaultConnector
Provides options for customizing the connector line style.
Implements
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartDefaultConnector : ChartSubComponent, ISubcomponentTracker, IDisposable
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.
Length
Gets or sets the length of the connector line.
Declaration
public string Length { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the length of the connector line. The default value is null. |
Remarks
The length can be specified as a string that defines how far the connector extends, allowing dynamic adjustments based on layout requirements.
Type
Gets or sets the type of the connector line.
Declaration
public ConnectorType Type { get; set; }
Property Value
Type | Description |
---|---|
ConnectorType | One of the ConnectorType enumerations that specifies the type of the connector line. The options include:
|
Remarks
This property defines how the connector appears in the chart, allowing customization to either a straight or curved style for better visual representation.
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.