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

ChartNavigatorSelectionBuilder

Methods

From(System.DateTime)

Sets the selection lower boundary

Parameters

fromDate - System.DateTime

The selection lower boundary.

Example


            @( Html.Kendo().StockChart(Model)
                        .Name("Chart")
                        .Navigator(nav => nav.Select(x => x.From(DateTime.Today)))
            )

To(System.DateTime)

Sets the selection upper boundary

Parameters

toDate - System.DateTime

The selection upper boundary.

Example


            @( Html.Kendo().StockChart(Model)
                        .Name("Chart")
                        .Navigator(nav => nav.Select(x => x.To(DateTime.Today)))
            )

Mousewheel(System.Boolean)

Enable or disable mouse wheel zooming.

Parameters

enabled - System.Boolean

The value which enables or disables mouse wheel zooming.

Example


            @( Html.Kendo().StockChart(Model)
                        .Name("Chart")
                        .Navigator(nav => nav.Select(x => x.Mousewheel(false)))
            )

Mousewheel(System.Action)

Configures the mousewheel selection options

Parameters

configurator - System.Action<ChartSelectionMousewheelBuilder>

The mousewheel zoom options

Example


            @( Html.Kendo().StockChart(Model)
                        .Name("Chart")
                        .Navigator(nav => nav.Select(x => x.Mousewheel(mw => mw.Zoom(ChartZoomDirection.Right))))
            )

In this article
Not finding the help you need?