Class PivotChartTooltipSettings
Allows to customize the pivot chart tooltip.
Inheritance
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartTooltipSettings : OwningComponentBase
Constructors
PivotChartTooltipSettings()
Declaration
public PivotChartTooltipSettings()
Properties
Border
Allows options to customize tooltip borders.
Declaration
public PivotChartTooltipBorder Border { get; set; }
Property Value
Type |
---|
PivotChartTooltipBorder |
Enable
Allows to set the visibility of the tooltip.
Declaration
public bool Enable { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableAnimation
If set to true, ToolTip will animate while moving from one point to another.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableMarker
Allows to set the visibility of the marker.
Declaration
public bool EnableMarker { get; set; }
Property Value
Type |
---|
System.Boolean |
Fill
Allows to set the fill color of the tooltip that accepts value in hex and rgba as a valid CSS color string.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
Format
Allows to set the format the ToolTip content.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
Header
Allows to set the header for tooltip.
Declaration
public string Header { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Allows to set the fill color of the tooltip that accepts value in hex and rgba as a valid CSS color string.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Shared
If set to true, a single ToolTip will be displayed for every index.
Declaration
public bool Shared { get; set; }
Property Value
Type |
---|
System.Boolean |
Template
Allows to set the custom template to format the ToolTip content. Use ${x} and ${y} as the placeholder text to display the corresponding data point.
Declaration
public RenderFragment<object> Template { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
TextStyle
Allows options to customize the ToolTip text.
Declaration
public PivotChartTooltipTextStyle TextStyle { get; set; }
Property Value
Type |
---|
PivotChartTooltipTextStyle |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
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 any asynchronous operation. |