Class ChartColumn
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartColumn : ChartSubComponent, ISubcomponentTracker, IChartElement
Constructors
ChartColumn()
Declaration
public ChartColumn()
Properties
BorderColor
Gets or sets the color of the chart column border as a string.
Declaration
public string BorderColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the border color of the chart column. The default value is null. |
Remarks
This property allows customization of the border color for the left line of the column, which divides the chart area horizontally. Accepts values in hex and rgba as valid CSS color strings.
BorderWidth
Gets or sets the width of the chart column border in pixels.
Declaration
public double BorderWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the border width of the chart column. The default value is 1 pixel. |
Remarks
This property allows customization of the border width for the left line of the column, which divides the chart area horizontally.
RendererKey
Declaration
public string RendererKey { get; set; }
Property Value
Type |
---|
System.String |
RendererType
Declaration
public Type RendererType { get; set; }
Property Value
Type |
---|
System.Type |
Width
Gets or sets the width of the column as a string, accepting input in the form of '100px' or '100%'.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the width of the column. The default value is "100%". |
Remarks
If specified as '100%', the column will render to the full width of its chart.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()