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.

Parameters

configurator - System.Action<ChartAxisNotesFactory>

The data of the notes.

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 line configuration.

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 label configurator.

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 icon configuration.

Example


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

Position(System.Nullable)

Sets the note position.

Parameters

position - System.Nullable<ChartNotePosition>

The note 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?