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

Defines the fluent API for configuring ChartXAxisNotesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartXAxisNotesSettingsBuilder<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 ChartXAxisNotesSettingsBuilder<T> class.

C#
public ChartXAxisNotesSettingsBuilder(ChartXAxisNotesSettings<T> container)
Parameters:containerChartXAxisNotesSettings<T>

The ChartXAxisNotesSettings<T> container

Properties

Gets the ChartXAxisNotesSettings<T> container.

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

Methods

The icon of the notes.

C#
public ChartXAxisNotesSettingsBuilder<T> Icon(Action<ChartXAxisNotesIconSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisNotesIconSettingsBuilder<T>>

The ChartXAxisNotesIconSettingsBuilder<T> for the icon setting.

Returns:

ChartXAxisNotesSettingsBuilder<T>

Returns the current instance of ChartXAxisNotesSettingsBuilder<T> .

The label of the notes.

C#
public ChartXAxisNotesSettingsBuilder<T> Label(Action<ChartXAxisNotesLabelSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisNotesLabelSettingsBuilder<T>>

The ChartXAxisNotesLabelSettingsBuilder<T> for the label setting.

Returns:

ChartXAxisNotesSettingsBuilder<T>

Returns the current instance of ChartXAxisNotesSettingsBuilder<T> .

The line of the notes.

C#
public ChartXAxisNotesSettingsBuilder<T> Line(Action<ChartXAxisNotesLineSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartXAxisNotesLineSettingsBuilder<T>>

The ChartXAxisNotesLineSettingsBuilder<T> for the line setting.

Returns:

ChartXAxisNotesSettingsBuilder<T>

Returns the current instance of ChartXAxisNotesSettingsBuilder<T> .

The position of the x axis note. "top" - The note is positioned on the top.; "bottom" - The note is positioned on the bottom.; "left" - The note is positioned on the left. or "right" - The note is positioned on the right..

C#
public ChartXAxisNotesSettingsBuilder<T> Position(ChartNotePosition value)
Parameters:valueChartNotePosition

The value for Position

Returns:

ChartXAxisNotesSettingsBuilder<T>

Returns the current ChartXAxisNotesSettingsBuilder<T> instance.

A function that can be used to create a custom visual for the notes. The available argument fields are: rect - the kendo.geometry.Rect that defines the note target rect.; sender - the chart instance (may be undefined).; options - the note options.; createVisual - a function that can be used to get the default visual. or value - the note value..

C#
public ChartXAxisNotesSettingsBuilder<T> Visual(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartXAxisNotesSettingsBuilder<T>

Returns the current ChartXAxisNotesSettingsBuilder<T> instance.

A function that can be used to create a custom visual for the notes. The available argument fields are: rect - the kendo.geometry.Rect that defines the note target rect.; sender - the chart instance (may be undefined).; options - the note options.; createVisual - a function that can be used to get the default visual. or value - the note value..

C#
public ChartXAxisNotesSettingsBuilder<T> Visual(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartXAxisNotesSettingsBuilder<T>

Returns the current ChartXAxisNotesSettingsBuilder<T> instance.