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