Kendo.Mvc.UI.Fluent.ChartAxisNotesBuilder
Defines the fluent interface for configuring notes of the axis.
Properties
Notes
Gets or sets the axis.
Methods
Data(System.Action<Kendo.Mvc.UI.Fluent.ChartAxisNotesFactory>)
Defines the items.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartAxisNotesFactory>
The data of the notes.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(a => a.Numeric()
.Note(notes => notes
.Data(data => {
data.Add().Value(1);
data.Add().Value(2);
})
)
)
)
Line(System.Action<Kendo.Mvc.UI.Fluent.ChartNoteLineBuilder>)
Sets the line configuration of the note
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartNoteLineBuilder>
The line configuration.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(a => a.Numeric()
.Note(notes => notes
.Line(line => line.Width(2))
)
)
)
Label(System.Action<Kendo.Mvc.UI.Fluent.ChartNoteLabelBuilder>)
Sets the label configuration of the note
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartNoteLabelBuilder>
The label configurator.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(a => a.Numeric()
.Note(notes => notes
.Label(label => label.Position(ChartNoteLabelPosition.Inside))
)
)
)
Icon(System.Action<Kendo.Mvc.UI.Fluent.ChartMarkersBuilder>)
Sets the icon configuration of the note
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartMarkersBuilder>
The icon configuration.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(a => a.Numeric()
.Note(notes => notes.Icon(icon => icon.Size(10)))
)
)
Position(System.Nullable<Kendo.Mvc.UI.ChartNotePosition>)
Sets the note position.
Parameters
position System.Nullable<Kendo.Mvc.UI.ChartNotePosition>
The note position.
Example (ASPX)
@(Html.Kendo().Chart()
.Name("Chart")
.ValueAxis(a => a.Numeric()
.Note(notes => notes.Position(ChartNotePosition.Left))
)
)