Class ChartTooltipBorder
Provides options to customize the border of the tooltip.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartTooltipBorder : ChartDefaultBorder, ISubcomponentTracker
Constructors
ChartTooltipBorder()
Declaration
public ChartTooltipBorder()
Properties
Width
Gets or sets the border width for the tooltip.
Declaration
public override double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the width of the tooltip border. The default value is 0. |
Overrides
Remarks
This property is used to specify the thickness of the tooltip's border.
Examples
// This example demonstrates how to customize the tooltip border width in a chart.
<SfChart>
<ChartTooltipSettings Enable="true">
<ChartTooltipBorder Width="2" Color="red"></ChartTooltipBorder>
</ChartTooltipSettings>
<ChartSeriesCollection>
<ChartSeries DataSource="@Data" XName="XValue" YName="YValue">
<ChartMarker Visible="true" Width="10" Height="10" />
</ChartSeries>
</ChartSeriesCollection>
</SfChart>