/// <summary> /// Sets the mousehweel zoom type /// </summary> /// <param name="fromDate">The mousehweel zoom type. Default value is ChartZoomDirection.Both</param> /// <example> /// <code lang="CS"> /// <% Html.Kendo().Chart() /// .Name("Chart") /// .CategoryAxis(axis => axis.Select(select => /// select.From(from).To(to) /// .Mousewheel(mw => mw.Zoom(ChartZoomDirection.Left)) /// )) /// .Render(); /// %> /// </code> /// </example> public ChartSelectionMousewheelBuilder Zoom(ChartZoomDirection zoom) { mousehweel.Zoom = zoom; return(this); }
/// <summary> /// Sets the mousehweel zoom type /// </summary> /// <param name="fromDate">The mousehweel zoom type. Default value is ChartZoomDirection.Both</param> /// <example> /// <code lang="CS"> /// <% Html.Kendo().Chart() /// .Name("Chart") /// .CategoryAxis(axis => axis.Select(select => /// select.From(from).To(to) /// .Mousewheel(mw => mw.Zoom(ChartZoomDirection.Left)) /// )) /// .Render(); /// %> /// </code> /// </example> public ChartSelectionMousewheelBuilder Zoom(ChartZoomDirection zoom) { mousehweel.Zoom = zoom; return this; }