Class ChartCrosshairTooltipBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartCrosshairTooltipBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.Charts.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
| Type |
|---|
| ChartCrosshairTooltipBuilder |
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
| Type |
|---|
| ChartCrosshairTooltipBuilder |
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 |
Returns
| Type |
|---|
| ChartCrosshairTooltipBuilder |