Class AccumulationChartTooltipBorder
Gets and sets the border of the accumulation chart's tooltip.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class AccumulationChartTooltipBorder : ChartCommonBorder
Constructors
AccumulationChartTooltipBorder()
Declaration
public AccumulationChartTooltipBorder()
Properties
Width
Gets or sets the border width for the tooltip in the SfAccumulationChart.
Declaration
public override double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the width of the tooltip border. The default value is |
Overrides
Remarks
The tooltip border width becomes significant when a border color is specified. When no color is applied, setting a width will have no visible effect. Ensure both width and color are set for the desired visual impact.
Examples
// This example shows how to set the border width of a tooltip in an Accumulation Chart:
<SfAccumulationChart>
<AccumulationChartSeriesCollection>
<AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users"></AccumulationChartSeries>
</AccumulationChartSeriesCollection>
<AccumulationChartTooltipSettings Enable="true">
<AccumulationChartTooltipBorder Width="2" Color="#072086" />
</AccumulationChartTooltipSettings>
</SfAccumulationChart>
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |