Class AccumulationChartLegendPageSettings
The option to customize the paging elements for arrow size and font styles for the paging number texts.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class AccumulationChartLegendPageSettings : SfBaseComponent
Constructors
AccumulationChartLegendPageSettings()
Declaration
public AccumulationChartLegendPageSettings()
Properties
ArrowSize
Gets and sets the size of the legend paging arrows in the SfAccumulationChart.
Declaration
public double ArrowSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts a double value that specifies the size of the legend paging arrow. The default value is 8. |
Remarks
The ArrowSize property allows you to customize the size of the paging arrows in the chart legend.
Examples
// The following code snippet demonstrates how to set the size of the legend paging arrows in an accumulation chart:
<SfAccumulationChart>
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users"></AccumulationChartSeries>
</AccumulationChartSeriesCollection>
<AccumulationChartLegendSettings Visible="true">
<AccumulationChartLegendPageSettings ArrowSize="10"></AccumulationChartLegendPageSettings>
</AccumulationChartLegendSettings>
</SfAccumulationChart>
TextStyle
Gets or sets an instance of AccumulationChartLegendPageSettingsTextStyle which specifies the font styles for the paging text in the legend.
Declaration
public AccumulationChartLegendPageSettingsTextStyle TextStyle { get; set; }
Property Value
Type | Description |
---|---|
AccumulationChartLegendPageSettingsTextStyle | The default value is an instance of AccumulationChartLegendPageSettingsTextStyle, allowing customization of font styles for legend paging text. |
Remarks
The AccumulationChartLegendPageSettingsTextStyle class provides options to customize the font styles of the paging text.
Examples
// The following code snippet demonstrates how to customize the legend paging text styles in an accumulation chart:
<SfAccumulationChart>
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users"></AccumulationChartSeries>
</AccumulationChartSeriesCollection>
<AccumulationChartLegendSettings Visible="true">
<AccumulationChartLegendPageSettings ArrowSize="10">
<AccumulationChartLegendPageSettingsTextStyle Size="16px" FontFamily="Arial" FontWeight="600" FontStyle="bold" Color="blue" Opacity=0.5></AccumulationChartLegendPageSettingsTextStyle>
</AccumulationChartLegendPageSettings>
</AccumulationChartLegendSettings>
</SfAccumulationChart>
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |