ChartNoteLineBuilder

Methods

Width(System.Int32)

Sets the line width

Parameters

width - System.Int32

The line width.

Example

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

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

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