New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ChartXAxisCrosshairTooltipSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartXAxisCrosshairTooltipSettingsBuilder<T> where T : class

Inheritance: objectChartXAxisCrosshairTooltipSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartXAxisCrosshairTooltipSettingsBuilder<T> class.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder(ChartXAxisCrosshairTooltipSettings<T> container)
Parameters:containerChartXAxisCrosshairTooltipSettings<T>

The ChartXAxisCrosshairTooltipSettings<T> container

Properties

Gets the ChartXAxisCrosshairTooltipSettings<T> container.

C#
protected ChartXAxisCrosshairTooltipSettings<T> Container { get; }

Methods

The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

ChartXAxisCrosshairTooltipSettingsBuilder<T>

Returns the current ChartXAxisCrosshairTooltipSettingsBuilder<T> instance.

The border options.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Border(Action<ChartXAxisCrosshairTooltipBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisCrosshairTooltipBorderSettingsBuilder<T>>

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Color(string value)
Parameters:valuestring

The value for Color

Returns:

ChartXAxisCrosshairTooltipSettingsBuilder<T>

Returns the current ChartXAxisCrosshairTooltipSettingsBuilder<T> instance.

The tooltip font.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Font(string value)
Parameters:valuestring

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Format(string value)
Parameters:valuestring

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Padding(Action<ChartXAxisCrosshairTooltipPaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisCrosshairTooltipPaddingSettingsBuilder<T>>

The ChartXAxisCrosshairTooltipPaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartXAxisCrosshairTooltipSettingsBuilder<T>

Returns the current instance of ChartXAxisCrosshairTooltipSettingsBuilder<T> .

Top position of the crosshair tooltip.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Position(string value)
Parameters:valuestring

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Template(string value)
Parameters:valuestring

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> TemplateId(string templateId)
Parameters:templateIdstring

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Visible()
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.

C#
public ChartXAxisCrosshairTooltipSettingsBuilder<T> Visible(bool value)
Parameters:valuebool

The value for Visible

Returns:

ChartXAxisCrosshairTooltipSettingsBuilder<T>

Returns the current ChartXAxisCrosshairTooltipSettingsBuilder<T> instance.