Class ChartArea
Options to customize the ChartArea of the chart
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ChartArea
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartArea : SfBaseComponent
Constructors
ChartArea()
Declaration
public ChartArea()
Properties
Background
The background of the chart area that accepts value in hex and rgba as a valid CSS color string..
Declaration
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BackgroundImage
The background image of the chart area that accepts value in string as url link or location of an image.
Declaration
public string BackgroundImage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Border
Options to customize the border of the chart area.
Declaration
public ChartAreaBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartAreaBorder |
ChildContent
Gets and sets the content of the component
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment |
Opacity
The opacity for background.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |