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

ChartOHLCSeriesHighlightBuilder

Methods

Line(System.Int32)

Configures the candlestick highlight line width.

Parameters

width - System.Int32

The lines width.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .Series(series => series
                          .Area(s => s.Sales)        
                          .Highlight(highlight => highlight.Line(2))
                      )
            )

Line(System.Int32,System.String)

Configures the candlestick highlight lines.

Parameters

width - System.Int32

The lines width.

color - System.String

The lines color.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .Series(series => series
                          .Area(s => s.Sales)        
                          .Highlight(highlight => highlight.Line(2, "yellow"))
                      )
            )

Line(System.Action)

Configures the OHLC highlight chart lines.

Parameters

configurator - System.Action<ChartAreaLineBuilder>

The configuration action.

Example


            @(Html.Kendo().Chart()
                      .Name("Chart")
                      .Series(series => series
                          .Area(s => s.Sales)        
                          .Highlight(highlight => highlight.Line(line => line.Width(2).Color("yellow")))
                      )
            )

In this article
Not finding the help you need?