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

Defines the fluent API for configuring ChartSeriesNotesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartSeriesNotesSettingsBuilder<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 ChartSeriesNotesSettingsBuilder<T> class.

C#
public ChartSeriesNotesSettingsBuilder(ChartSeriesNotesSettings<T> container)
Parameters:containerChartSeriesNotesSettings<T>

The ChartSeriesNotesSettings<T> container

Properties

Gets the ChartSeriesNotesSettings<T> container.

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

Methods

The icon of the notes.

C#
public ChartSeriesNotesSettingsBuilder<T> Icon(Action<ChartSeriesNotesIconSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartSeriesNotesIconSettingsBuilder<T>>

The ChartSeriesNotesIconSettingsBuilder<T> for the icon setting.

Returns:

ChartSeriesNotesSettingsBuilder<T>

Returns the current instance of ChartSeriesNotesSettingsBuilder<T> .

The label of the notes.

C#
public ChartSeriesNotesSettingsBuilder<T> Label(Action<ChartSeriesNotesLabelSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartSeriesNotesLabelSettingsBuilder<T>>

The ChartSeriesNotesLabelSettingsBuilder<T> for the label setting.

Returns:

ChartSeriesNotesSettingsBuilder<T>

Returns the current instance of ChartSeriesNotesSettingsBuilder<T> .

The line of the notes.

C#
public ChartSeriesNotesSettingsBuilder<T> Line(Action<ChartSeriesNotesLineSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartSeriesNotesLineSettingsBuilder<T>>

The ChartSeriesNotesLineSettingsBuilder<T> for the line setting.

Returns:

ChartSeriesNotesSettingsBuilder<T>

Returns the current instance of ChartSeriesNotesSettingsBuilder<T> .

Specifies the position of the note.

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

The value for Position

Returns:

ChartSeriesNotesSettingsBuilder<T>

Returns the current ChartSeriesNotesSettingsBuilder<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.; category - the category of the note point.; dataItem - the dataItem of the note point.; value - the value of the note point.; sender - the chart instance.; series - the series of the note point. or text - the note text..

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

The handler code wrapped in a text tag.

Returns:

ChartSeriesNotesSettingsBuilder<T>

Returns the current ChartSeriesNotesSettingsBuilder<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.; category - the category of the note point.; dataItem - the dataItem of the note point.; value - the value of the note point.; sender - the chart instance.; series - the series of the note point. or text - the note text..

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

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesNotesSettingsBuilder<T>

Returns the current ChartSeriesNotesSettingsBuilder<T> instance.