Class PivotChartCommonFont
Allows to customize the apprearance of the text in the chart such as font style, font size, font weight, font color, font family, text alignment, opacity, text overflow.
Inheritance
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartCommonFont : OwningComponentBase
Constructors
PivotChartCommonFont()
Declaration
public PivotChartCommonFont()
Properties
Color
Allows to set the color for the text.
Declaration
public virtual string Color { get; set; }
Property Value
Type |
---|
System.String |
FontFamily
Allows to set the font family for the text.
Declaration
public virtual string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontStyle
Allows to set the font style for the text.
Declaration
public virtual string FontStyle { get; set; }
Property Value
Type |
---|
System.String |
FontWeight
Allows to set the font weight for the text.
Declaration
public virtual string FontWeight { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Allows to set the opacity for the text.
Declaration
public virtual int Opacity { get; set; }
Property Value
Type |
---|
System.Int32 |
Size
Allows to set the font size for the text.
Declaration
public virtual string Size { get; set; }
Property Value
Type |
---|
System.String |
TextAlignment
Allows to set the text alignment.
Declaration
public virtual PivotChartAlignment TextAlignment { get; set; }
Property Value
Type |
---|
PivotChartAlignment |
TextOverflow
Allows to set the chart title text overflow.
Declaration
public virtual PivotChartTextOverflow TextOverflow { get; set; }
Property Value
Type |
---|
PivotChartTextOverflow |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
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 |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
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 |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |