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