Class PivotChartLegendTextStyle
Allows options to customize the legend text.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartLegendTextStyle : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
PivotChartLegendTextStyle()
Declaration
public PivotChartLegendTextStyle()
Properties
Color
Allows to set the color for the text.
Declaration
[Parameter]
public string Color { get; set; }
Property Value
| Type |
|---|
| string |
FontFamily
Allows to set the font family for the text.
Declaration
[Parameter]
public virtual string FontFamily { get; set; }
Property Value
| Type |
|---|
| string |
FontStyle
Allows to set the font style for the text.
Declaration
[Parameter]
public string FontStyle { get; set; }
Property Value
| Type |
|---|
| string |
FontWeight
Allows to set the font weight for the text.
Declaration
[Parameter]
public string FontWeight { get; set; }
Property Value
| Type |
|---|
| string |
Opacity
Allows to set the opacity for the text.
Declaration
[Parameter]
public int Opacity { get; set; }
Property Value
| Type |
|---|
| int |
Size
Allows to set the font size for the text.
Declaration
[Parameter]
public string Size { get; set; }
Property Value
| Type |
|---|
| string |
TextAlignment
Allows to set the text alignment.
Declaration
[Parameter]
public PivotChartAlignment TextAlignment { get; set; }
Property Value
| Type |
|---|
| PivotChartAlignment |
TextOverflow
Allows to set the chart title text overflow.
Declaration
[Parameter]
public PivotChartTextOverflow TextOverflow { get; set; }
Property Value
| Type |
|---|
| PivotChartTextOverflow |
Methods
Dispose(bool)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |