StockChartEventBuilder

Methods

AxisLabelClick(System.String)

Defines the handler of the AxisLabelClick client-side event. Fires when an axis label is clicked.

For more information see AxisLabelClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the AxisLabelClick event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.AxisLabelClick("onAxisLabelClick"))
            )
             

AxisLabelClick(System.Func)

Defines the handler of the AxisLabelClick client-side event. Fires when an axis label is clicked.

For more information see AxisLabelClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.AxisLabelClick(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

DataBound(System.String)

Defines the handler of the DataBound client-side event. Fires when the chart has received data from the data source and is about to render it.

For more information see DataBound event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the DataBound event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.DataBound("onDataBound"))
            )
             

DataBound(System.Func)

Defines the handler of the DataBound client-side event. Fires when the chart has received data from the data source and is about to render it.

For more information see DataBound event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.DataBound(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

DragStart(System.String)

Defines the handler of the DragStart client-side event. Fires when the user has used the mouse or a swipe gesture to drag the chart.The drag operation can be aborted by calling e.preventDefault().

For more information see DragStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the DragStart event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.DragStart("onDragStart"))
            )
             

DragStart(System.Func)

Defines the handler of the DragStart client-side event. Fires when the user has used the mouse or a swipe gesture to drag the chart.The drag operation can be aborted by calling e.preventDefault().

For more information see DragStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.DragStart(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

Drag(System.String)

Defines the handler of the Drag client-side event. Fires as long as the user is dragging the chart using the mouse or swipe gestures.

For more information see Drag event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Drag event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.Drag("onDrag"))
            )
             

Drag(System.Func)

Defines the handler of the Drag client-side event. Fires as long as the user is dragging the chart using the mouse or swipe gestures.

For more information see Drag event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.Drag(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

DragEnd(System.String)

Defines the handler of the DragEnd client-side event. Fires when the user stops dragging the chart.

For more information see DragEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the DragEnd event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.DragEnd("onDragEnd"))
            )
             

DragEnd(System.Func)

Defines the handler of the DragEnd client-side event. Fires when the user stops dragging the chart.

For more information see DragEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.DragEnd(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

LegendItemClick(System.String)

Defines the handler of the LegendItemClick client-side event. Fires when an legend item is clicked, before the selected series visibility is toggled. Can be cancelled.

For more information see LegendItemClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the LegendItemClick event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.LegendItemClick("onLegendItemClick"))
            )
             

LegendItemClick(System.Func)

Defines the handler of the LegendItemClick client-side event. Fires when an legend item is clicked, before the selected series visibility is toggled. Can be cancelled.

For more information see LegendItemClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.LegendItemClick(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

LegendItemHover(System.String)

Defines the handler of the LegendItemHover client-side event. Fires when an legend item is hovered.

For more information see LegendItemHover event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the LegendItemHover event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.LegendItemHover("onLegendItemHover"))
            )
             

LegendItemHover(System.Func)

Defines the handler of the LegendItemHover client-side event. Fires when an legend item is hovered.

For more information see LegendItemHover event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.LegendItemHover(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

LegendItemLeave(System.String)

Defines the handler of the LegendItemLeave client-side event. Fires when the cursor leaves a legend item.

For more information see LegendItemLeave event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the LegendItemLeave event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.LegendItemLeave("onLegendItemLeave"))
            )
             

LegendItemLeave(System.Func)

Defines the handler of the LegendItemLeave client-side event. Fires when the cursor leaves a legend item.

For more information see LegendItemLeave event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.LegendItemLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

NoteClick(System.String)

Defines the handler of the NoteClick client-side event. Fired when the user clicks one of the notes.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see NoteClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the NoteClick event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.NoteClick("onNoteClick"))
            )
             

NoteClick(System.Func)

Defines the handler of the NoteClick client-side event. Fired when the user clicks one of the notes.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see NoteClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.NoteClick(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

NoteHover(System.String)

Defines the handler of the NoteHover client-side event. Fired when the user hovers one of the notes.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see NoteHover event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the NoteHover event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.NoteHover("onNoteHover"))
            )
             

NoteHover(System.Func)

Defines the handler of the NoteHover client-side event. Fired when the user hovers one of the notes.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see NoteHover event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.NoteHover(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

NoteLeave(System.String)

Defines the handler of the NoteLeave client-side event. Fired when the cursor leaves a note.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see NoteLeave event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the NoteLeave event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.NoteLeave("onNoteLeave"))
            )
             

NoteLeave(System.Func)

Defines the handler of the NoteLeave client-side event. Fired when the cursor leaves a note.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see NoteLeave event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.NoteLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

PaneRender(System.String)

Defines the handler of the PaneRender client-side event. Fires when a pane is rendered because the chart is rendered, or the chart performs panning or zooming, or because the chart is exported with different options. The event can be used to render custom visuals in the panes.

For more information see PaneRender event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the PaneRender event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.PaneRender("onPaneRender"))
            )
             

PaneRender(System.Func)

Defines the handler of the PaneRender client-side event. Fires when a pane is rendered because the chart is rendered, or the chart performs panning or zooming, or because the chart is exported with different options. The event can be used to render custom visuals in the panes.

For more information see PaneRender event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.PaneRender(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

PlotAreaClick(System.String)

Defines the handler of the PlotAreaClick client-side event. Fires when plot area is clicked.

For more information see PlotAreaClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the PlotAreaClick event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.PlotAreaClick("onPlotAreaClick"))
            )
             

PlotAreaClick(System.Func)

Defines the handler of the PlotAreaClick client-side event. Fires when plot area is clicked.

For more information see PlotAreaClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.PlotAreaClick(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

PlotAreaHover(System.String)

Defines the handler of the PlotAreaHover client-side event. Fired when the user hovers the plot area.

For more information see PlotAreaHover event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the PlotAreaHover event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.PlotAreaHover("onPlotAreaHover"))
            )
             

PlotAreaHover(System.Func)

Defines the handler of the PlotAreaHover client-side event. Fired when the user hovers the plot area.

For more information see PlotAreaHover event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.PlotAreaHover(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

PlotAreaLeave(System.String)

Defines the handler of the PlotAreaLeave client-side event. Fired when the cursor leaves the plotArea.

For more information see PlotAreaLeave event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the PlotAreaLeave event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.PlotAreaLeave("onPlotAreaLeave"))
            )
             

PlotAreaLeave(System.Func)

Defines the handler of the PlotAreaLeave client-side event. Fired when the cursor leaves the plotArea.

For more information see PlotAreaLeave event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.PlotAreaLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

Render(System.String)

Defines the handler of the Render client-side event. Fired when the chart is ready to render on screen.Can be used, for example, to remove loading indicators. Changes to options will be ignored.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see Render event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Render event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.Render("onRender"))
            )
             

Render(System.Func)

Defines the handler of the Render client-side event. Fired when the chart is ready to render on screen.Can be used, for example, to remove loading indicators. Changes to options will be ignored.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see Render event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.Render(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

Select(System.String)

Defines the handler of the Select client-side event. Fired when the user modifies the selection.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see Select event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Select event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.Select("onSelect"))
            )
             

Select(System.Func)

Defines the handler of the Select client-side event. Fired when the user modifies the selection.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.Select(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

SelectEnd(System.String)

Defines the handler of the SelectEnd client-side event. Fired when the user completes modifying the selection.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see SelectEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the SelectEnd event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.SelectEnd("onSelectEnd"))
            )
             

SelectEnd(System.Func)

Defines the handler of the SelectEnd client-side event. Fired when the user completes modifying the selection.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see SelectEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.SelectEnd(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

SelectStart(System.String)

Defines the handler of the SelectStart client-side event. Fired when the user starts modifying the axis selection.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see SelectStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the SelectStart event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.SelectStart("onSelectStart"))
            )
             

SelectStart(System.Func)

Defines the handler of the SelectStart client-side event. Fired when the user starts modifying the axis selection.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see SelectStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.SelectStart(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

SeriesClick(System.String)

Defines the handler of the SeriesClick client-side event. Fires when chart series are clicked.

For more information see SeriesClick event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the SeriesClick event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.SeriesClick("onSeriesClick"))
            )
             

SeriesClick(System.Func)

Defines the handler of the SeriesClick client-side event. Fires when chart series are clicked.

For more information see SeriesClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.SeriesClick(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

SeriesHover(System.String)

Defines the handler of the SeriesHover client-side event. Fires when chart series are hovered.

For more information see SeriesHover event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the SeriesHover event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.SeriesHover("onSeriesHover"))
            )
             

SeriesHover(System.Func)

Defines the handler of the SeriesHover client-side event. Fires when chart series are hovered.

For more information see SeriesHover event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.SeriesHover(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

SeriesOver(System.String)

Defines the handler of the SeriesOver client-side event. Fired when the cursor is over the chart series.

For more information see SeriesOver event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the SeriesOver event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.SeriesOver("onSeriesOver"))
            )
             

SeriesOver(System.Func)

Defines the handler of the SeriesOver client-side event. Fired when the cursor is over the chart series.

For more information see SeriesOver event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.SeriesOver(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

SeriesLeave(System.String)

Defines the handler of the SeriesLeave client-side event. Fired when the cursor leaves a chart series.

For more information see SeriesLeave event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the SeriesLeave event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.SeriesLeave("onSeriesLeave"))
            )
             

SeriesLeave(System.Func)

Defines the handler of the SeriesLeave client-side event. Fired when the cursor leaves a chart series.

For more information see SeriesLeave event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.SeriesLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

ZoomStart(System.String)

Defines the handler of the ZoomStart client-side event. Fires when the user has used the mousewheel to zoom the chart.The zoom operation can be aborted by calling e.preventDefault().

For more information see ZoomStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the ZoomStart event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.ZoomStart("onZoomStart"))
            )
             

ZoomStart(System.Func)

Defines the handler of the ZoomStart client-side event. Fires when the user has used the mousewheel to zoom the chart.The zoom operation can be aborted by calling e.preventDefault().

For more information see ZoomStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.ZoomStart(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

ZoomEnd(System.String)

Defines the handler of the ZoomEnd client-side event. Fires when the user stops zooming the chart.

For more information see ZoomEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the ZoomEnd event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.ZoomEnd("onZoomEnd"))
            )
             

ZoomEnd(System.Func)

Defines the handler of the ZoomEnd client-side event. Fires when the user stops zooming the chart.

For more information see ZoomEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.ZoomEnd(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )
             

Zoom(System.String)

Defines the handler of the Zoom client-side event. Fires as long as the user is zooming the chart using the mousewheel.

For more information see Zoom event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Zoom event.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                       .Name("Chart")
                       .Events(events => events.Zoom("onZoom"))
            )
             

Zoom(System.Func)

Defines the handler of the Zoom client-side event. Fires as long as the user is zooming the chart using the mousewheel.

For more information see Zoom event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of StockChartEventBuilder .

Example

Razor
 
            @(Html.Kendo().StockChart()
                      .Name("Chart")
                      .Events(events => events.Zoom(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )