Class SparklineTooltipSettings<TValue>
Sets and gets the options for customizing the sparkline tooltip.
Implements
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class SparklineTooltipSettings<TValue> : SfBaseComponent, ISparklineTooltip
Type Parameters
Name | Description |
---|---|
TValue | Represents the generic data type of tooltip in sparkline component. |
Constructors
SparklineTooltipSettings()
Declaration
public SparklineTooltipSettings()
Properties
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Fill
Sets and gets the tooltip fill color.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
Format
Sets and gets the tooltip text format.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
Template
Sets and gets the tooltip template.
Declaration
public RenderFragment<TValue> Template { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<TValue> |
Visible
Sets and gets the tooltip visibility.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |