menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDefaultConnector - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDefaultConnector

    Provides options for customizing the connector line style.

    Inheritance
    System.Object
    ChartSubComponent
    ChartDefaultConnector
    ChartSeriesConnector
    Implements
    System.IDisposable
    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:

    • Line: Renders the connector line as a straight line.
    • Curve: Renders the connector line as a curved line.
      The default type is ConnectorType.Line.
    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.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved