Class AccumulationChartLegendPageSettingsTextStyle
Gets and sets the text style of the accumulation chart legend paging texts.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class AccumulationChartLegendPageSettingsTextStyle : ChartCommonFont
Constructors
AccumulationChartLegendPageSettingsTextStyle()
Declaration
public AccumulationChartLegendPageSettingsTextStyle()
Properties
Size
Gets or sets the unique size of the paging texts in the SfAccumulationChart legend.
Declaration
public override string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the size of the paging texts as a string, with the default value being 13px. |
Overrides
Remarks
The Size property allows you to adjust the size of the paging texts.
Examples
// The following code snippet demonstrates how to set the size of paging texts in an accumulation chart:
<SfAccumulationChart>
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users"></AccumulationChartSeries>
</AccumulationChartSeriesCollection>
<AccumulationChartLegendSettings Visible="true">
<AccumulationChartLegendPageSettings>
<AccumulationChartLegendPageSettingsTextStyle Size="16px"></AccumulationChartLegendPageSettingsTextStyle>
</AccumulationChartLegendPageSettings>
</AccumulationChartLegendSettings>
</SfAccumulationChart>
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |