ClassChartTooltip
Telerik UI ChartTooltip.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartTooltip : ChartTooltipBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesTooltipBaseChartTooltipBaseChartTooltip
Implements:
Inherited Members
Constructors
ChartTooltip()
Declaration
public ChartTooltip()
Properties
AutoHide
Specifies if the tooltip will be hidden when the mouse leaves the target element. If set to false, a Close button will be shown within tooltip.
Background
The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
Font
The tooltip font.
Opacity
The opacity of the tooltip.
Declaration
[Parameter]
public double? Opacity { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns