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