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

Defines the fluent API for configuring ChartYAxisNotesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartYAxisNotesSettingsBuilder<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 ChartYAxisNotesSettingsBuilder<T> class.

C#
public ChartYAxisNotesSettingsBuilder(ChartYAxisNotesSettings<T> container)
Parameters:containerChartYAxisNotesSettings<T>

The ChartYAxisNotesSettings<T> container

Properties

Gets the ChartYAxisNotesSettings<T> container.

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

Methods

The icon of the notes.

C#
public ChartYAxisNotesSettingsBuilder<T> Icon(Action<ChartYAxisNotesIconSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartYAxisNotesIconSettingsBuilder<T>>

The ChartYAxisNotesIconSettingsBuilder<T> for the icon setting.

Returns:

ChartYAxisNotesSettingsBuilder<T>

Returns the current instance of ChartYAxisNotesSettingsBuilder<T> .

The label configuration of the notes.

C#
public ChartYAxisNotesSettingsBuilder<T> Label(Action<ChartYAxisNotesLabelSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartYAxisNotesLabelSettingsBuilder<T>>

The ChartYAxisNotesLabelSettingsBuilder<T> for the label setting.

Returns:

ChartYAxisNotesSettingsBuilder<T>

Returns the current instance of ChartYAxisNotesSettingsBuilder<T> .

The line of the notes.

C#
public ChartYAxisNotesSettingsBuilder<T> Line(Action<ChartYAxisNotesLineSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartYAxisNotesLineSettingsBuilder<T>>

The ChartYAxisNotesLineSettingsBuilder<T> for the line setting.

Returns:

ChartYAxisNotesSettingsBuilder<T>

Returns the current instance of ChartYAxisNotesSettingsBuilder<T> .

The position of the y axis notes. "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 ChartYAxisNotesSettingsBuilder<T> Position(ChartNotePosition value)
Parameters:valueChartNotePosition

The value for Position

Returns:

ChartYAxisNotesSettingsBuilder<T>

Returns the current ChartYAxisNotesSettingsBuilder<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.; options - the note options.; createVisual - a function that can be used to get the default visual. or value - the note value..

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

The handler code wrapped in a text tag.

Returns:

ChartYAxisNotesSettingsBuilder<T>

Returns the current ChartYAxisNotesSettingsBuilder<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.; options - the note options.; createVisual - a function that can be used to get the default visual. or value - the note value..

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

The name of the JavaScript function that will be evaluated.

Returns:

ChartYAxisNotesSettingsBuilder<T>

Returns the current ChartYAxisNotesSettingsBuilder<T> instance.