Defines the fluent API for configuring ChartAxisDefaultsCrosshairTooltipSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> where T : class
Inheritance: objectChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> class.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder(ChartAxisDefaultsCrosshairTooltipSettings<T> container)
The ChartAxisDefaultsCrosshairTooltipSettings<T> container
Properties
Gets the ChartAxisDefaultsCrosshairTooltipSettings<T> container.
protected ChartAxisDefaultsCrosshairTooltipSettings<T> Container { get; }
Methods
The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The border options.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Border(Action<ChartAxisDefaultsCrosshairTooltipBorderSettingsBuilder<T>> configurator)
The ChartAxisDefaultsCrosshairTooltipBorderSettingsBuilder<T> for the border setting.
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current instance of ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> .
The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The tooltip font.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The format used to display the tooltip. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Format(string value)
The value for Format
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The padding of the crosshair tooltip. A numeric value will set all paddings.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Padding(Action<ChartAxisDefaultsCrosshairTooltipPaddingSettingsBuilder<T>> configurator)
The ChartAxisDefaultsCrosshairTooltipPaddingSettingsBuilder<T> for the padding setting.
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current instance of ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> .
The template which renders the tooltip.The fields which can be used in the template are: value - the category value.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Template(string value)
The value for Template
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The template which renders the tooltip.The fields which can be used in the template are: value - the category value.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The template which renders the tooltip.The fields which can be used in the template are: value - the category value.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The template which renders the tooltip.The fields which can be used in the template are: value - the category value.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
The template which renders the tooltip.The fields which can be used in the template are: value - the category value.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
If set to true the chart will display the axis crosshair tooltip. By default the axis crosshair tooltip is not visible.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Visible()
ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.
If set to true the chart will display the axis crosshair tooltip. By default the axis crosshair tooltip is not visible.
public ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T>
Returns the current ChartAxisDefaultsCrosshairTooltipSettingsBuilder<T> instance.