ChartAxisSelectionBuilder
Methods
From(System.DateTime)
Sets the selection lower boundary
Parameters
fromDate - System.DateTime
The selection lower boundary.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis =>
axis.Select(select => select.From(from))
)
)
From(System.Double)
Sets the selection lower boundary
Parameters
from - System.Double
The selection lower boundary.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.Select(select =>
select.From(from).To(to)
))
)
To(System.DateTime)
Sets the selection upper boundary
Parameters
toDate - System.DateTime
The selection upper boundary.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.Select(select =>
select.To(toDate).To(toDate)
))
)
To(System.Double)
Sets the selection upper boundary
Parameters
to - System.Double
The selection upper boundary.
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis.Select(select => select.To(to).To(to)
))
)
Mousewheel(System.Action)
Configures the mousewheel zoom options
Parameters
configurator - System.Action<ChartSelectionMousewheelBuilder>
The mousewheel zoom options
Example
@(Html.Kendo().Chart()
.Name("Chart")
.CategoryAxis(axis => axis
.Select(select=>select
.Mousewheel(mouse=>mouse.Zoom(ChartZoomDirection.Right))
)
)
)