Defines the fluent interface for configuring ChartAxisCrosshairTooltipBuilder.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartAxisCrosshairTooltipBuilder
Inheritance: objectChartAxisCrosshairTooltipBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartAxisCrosshairTooltipBuilder class.
public ChartAxisCrosshairTooltipBuilder(ChartAxisCrosshairTooltip tooltip)
The chart crosshair tooltip.
Methods
Sets the background color of the tooltip.
public ChartAxisCrosshairTooltipBuilder Background(string background)
The value that configures the background color.
Returns:Configures the border options of the tooltip.
public ChartAxisCrosshairTooltipBuilder Border(Action<ChartBorderBuilder> configurator)
The action that configures the border settings.
Returns:Sets the text color of the tooltip. The option accepts a valid CSS color string, including HEX and RGB.
public ChartAxisCrosshairTooltipBuilder Color(string color)
The value that configures the text color.
Returns:Sets the tooltip font.
public ChartAxisCrosshairTooltipBuilder Font(string font)
The value of the tooltip font (CSS syntax).
Returns:Sets the format used to display the tooltip. The option uses the kendo.format() method and contains one placeholder ("{0}") which represents the category value.
public ChartAxisCrosshairTooltipBuilder Format(string format)
The value that configures the format.
Returns:The format string is ignored if the tooltip uses a template.
Sets the tooltip opacity.
public ChartAxisCrosshairTooltipBuilder Opacity(double opacity)
The series opacity in the range from 0 (transparent) to 1 (opaque). The default value is 1.
Returns:Sets the padding of the crosshair tooltip.
public ChartAxisCrosshairTooltipBuilder Padding(int padding)
The value that configures all paddings.
Returns:Defines the CSS position of the crosshair tooltip.
public ChartAxisCrosshairTooltipBuilder Position(string value)
The value that configures the CSS position.
Returns:Defines the template that renders the tooltip.
public ChartAxisCrosshairTooltipBuilder Template(string template)
The value that configures the template content.
Returns:ChartAxisCrosshairTooltipBuilder
A client-side template for the tooltip.
- value - The point value.
The format string is ignored if a template is set.
Sets the visibility of the crosshair tooltip.
public ChartAxisCrosshairTooltipBuilder Visible(bool visible)
The value that toggles the visibility of the tooltip.
Returns: