alexa
menu

Blazor Toolkit

    Show / Hide Table of Contents

    Class ChartBorder

    Provides options to customize the border of the chart.

    Inheritance
    System.Object
    SfBaseComponent
    ChartSubComponent
    ChartDefaultBorder
    ChartBorder
    Implements
    System.IAsyncDisposable
    Inherited Members
    ChartDefaultBorder.Color
    SfBaseComponent.DisposeAsync()
    Namespace: Syncfusion.Blazor.Toolkit.Charts
    Assembly: Syncfusion.Blazor.Toolkit.dll
    Syntax
    public class ChartBorder : ChartDefaultBorder, IAsyncDisposable, ISubcomponentTracker

    Constructors

    ChartBorder()

    Declaration
    public ChartBorder()

    Properties

    Width

    Gets or sets the width of the chart border in pixels.

    Declaration
    public override double Width { get; set; }
    Property Value
    Type Description
    System.Double

    A double value representing the width of the chart border. The default value is 0 pixel.

    Overrides
    ChartDefaultBorder.Width
    Remarks

    Accepts numerical values to define the thickness of the chart's border.

    Examples
    // This example demonstrates how to set the border thickness for the chart:
    <SfChart>
        <ChartBorder Width="2" Color="green" />
    </SfChart>

    Implements

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