Class ChartCrosshairTooltipBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartCrosshairTooltipBuilder
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartCrosshairTooltipBuilder : ControlBuilder
Constructors
ChartCrosshairTooltipBuilder()
Declaration
public ChartCrosshairTooltipBuilder()
ChartCrosshairTooltipBuilder(ChartCrosshairTooltip)
Declaration
public ChartCrosshairTooltipBuilder(ChartCrosshairTooltip model)
Parameters
Type | Name | Description |
---|---|---|
ChartCrosshairTooltip | model |
Methods
Enable(Boolean)
If set to true, the crosshair tooltip will be visible on the chart when interacting with the crosshair.
Declaration
public ChartCrosshairTooltipBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Fill(String)
The fill color of the tooltip accepts values in hex and rgba as valid CSS color string.
Declaration
public ChartCrosshairTooltipBuilder Fill(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
TextStyle(Object)
Options for customizing the crosshair tooltip text, including font settings such as family, size, style, weight, and color.
Declaration
public ChartCrosshairTooltipBuilder TextStyle(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |