Class StockChartCrosshairTooltipBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartCrosshairTooltipBuilder
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartCrosshairTooltipBuilder : ControlBuilder
Constructors
StockChartCrosshairTooltipBuilder()
Declaration
public StockChartCrosshairTooltipBuilder()
StockChartCrosshairTooltipBuilder(StockChartCrosshairTooltip)
Declaration
public StockChartCrosshairTooltipBuilder(StockChartCrosshairTooltip model)
Parameters
Type | Name | Description |
---|---|---|
StockChartCrosshairTooltip | model |
Methods
Enable(Boolean)
If set to true, the crosshair tooltip will be visible on the chart when interacting with the crosshair.
Declaration
public StockChartCrosshairTooltipBuilder 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 StockChartCrosshairTooltipBuilder 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 StockChartCrosshairTooltipBuilder TextStyle(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |