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