Defines the fluent API for configuring ChartSeriesNotesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartSeriesNotesSettingsBuilder<T> where T : class
Inheritance: objectChartSeriesNotesSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartSeriesNotesSettingsBuilder<T> class.
public ChartSeriesNotesSettingsBuilder(ChartSeriesNotesSettings<T> container)
The ChartSeriesNotesSettings<T> container
Properties
Gets the ChartSeriesNotesSettings<T> container.
protected ChartSeriesNotesSettings<T> Container { get; }
Methods
The icon of the notes.
public ChartSeriesNotesSettingsBuilder<T> Icon(Action<ChartSeriesNotesIconSettingsBuilder<T>> configurator)
The ChartSeriesNotesIconSettingsBuilder<T> for the icon setting.
Returns:ChartSeriesNotesSettingsBuilder<T>
Returns the current instance of ChartSeriesNotesSettingsBuilder<T> .
The label of the notes.
public ChartSeriesNotesSettingsBuilder<T> Label(Action<ChartSeriesNotesLabelSettingsBuilder<T>> configurator)
The ChartSeriesNotesLabelSettingsBuilder<T> for the label setting.
Returns:ChartSeriesNotesSettingsBuilder<T>
Returns the current instance of ChartSeriesNotesSettingsBuilder<T> .
The line of the notes.
public ChartSeriesNotesSettingsBuilder<T> Line(Action<ChartSeriesNotesLineSettingsBuilder<T>> configurator)
The ChartSeriesNotesLineSettingsBuilder<T> for the line setting.
Returns:ChartSeriesNotesSettingsBuilder<T>
Returns the current instance of ChartSeriesNotesSettingsBuilder<T> .
Specifies the position of the note.
public ChartSeriesNotesSettingsBuilder<T> Position(ChartNotePosition value)
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..
public ChartSeriesNotesSettingsBuilder<T> Visual(Func<object, object> handler)
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..
public ChartSeriesNotesSettingsBuilder<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesNotesSettingsBuilder<T>
Returns the current ChartSeriesNotesSettingsBuilder<T> instance.