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

ChartNoteLineBuilder

Methods

Width(System.Int32)

Sets the line width

Parameters

width - System.Int32

The line width.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .Series(series => series
                          .Bar(s => s.Sales)
                          .Note(note => note.Line(line => line.Width(2)))
                      )
            )

Color(System.String)

Sets the line color

Parameters

color - System.String

The line color.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .Series(series => series
                          .Bar(s => s.Sales)
                          .Note(note => note.Line(line => line.Color("red")))
                      )
            )

Length(System.Int32)

Sets the connectors padding

Parameters

length - System.Int32

The connectors length.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .Series(series => series
                          .Bar(s => s.Sales)
                          .Note(note => note.Line(line => line.Length(15)))
                      )
            )

In this article
Not finding the help you need?