Class ChartDefaultBorder
Provides options for customizing the color and width of the border.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartDefaultBorder : ChartSubComponent, ISubcomponentTracker
Constructors
ChartDefaultBorder()
Declaration
public ChartDefaultBorder()
Properties
Color
Gets or sets the color of the border, accepting values in hexadecimal or RGBA formats as valid CSS color strings.
Declaration
public virtual string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies the color of the chart border. The value must be a valid CSS color string, formatted as either a hexadecimal or RGBA value. |
Remarks
Changing this property will update the visual boundary of the chart's border to match the specified color, enhancing the stylistic appearance or aligning with specific design standards.
Width
Gets or sets the width of the border in pixels.
Declaration
public virtual double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double specifying the border's width. The default value is 1, representing 1 pixel. |
Remarks
Adjust this property to increase or decrease the thickness of the chart border, which can help draw focus or emphasize the chart's outline.