New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ChartAxisNotesBuilder

Properties

Notes - ChartAxisNotes

Gets or sets the note position.

Methods

Data(System.Action)

Defines the items of the notes.

Parameters

configurator - System.Action<ChartAxisNotesFactory>

The action that configures the items.

Example


            @(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)

Sets the line configuration of the note.

Parameters

configurator - System.Action<ChartNoteLineBuilder>

The action that configures the line options.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .ValueAxis(a => a.Numeric()
                          .Note(notes => notes
                                .Line(line => line.Width(2))
                          )
                      )
            )

Label(System.Action)

Sets the label configuration of the note.

Parameters

configurator - System.Action<ChartNoteLabelBuilder>

The action that configures the label options.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .ValueAxis(a => a.Numeric()
                          .Note(notes => notes
                               .Label(label => label.Position(ChartNoteLabelPosition.Inside))
                          )
                       )
            )

Icon(System.Action)

Sets the icon configuration of the note.

Parameters

configurator - System.Action<ChartMarkersBuilder>

The action that configures the icon settings.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .ValueAxis(a => a.Numeric()
                          .Note(notes => notes.Icon(icon => icon.Size(10)))
                       )
            )

Position(System.Nullable)

Sets the position of the axis note.

Parameters

position - System.Nullable<ChartNotePosition>

The value that configures the position.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .ValueAxis(a => a.Numeric()
                          .Note(notes => notes.Position(ChartNotePosition.Left))
                      )
            )

In this article
Not finding the help you need?