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

StockChartEventBuilder

Methods

AxisLabelClick(System.String)

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.

Example


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

AxisLabelClick(System.Func)

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.

Example


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

DataBound(System.String)

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.

Example


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

DataBound(System.Func)

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.

Example


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

DragStart(System.String)

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.

Example


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

DragStart(System.Func)

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.

Example


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

Drag(System.String)

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.

Example


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

Drag(System.Func)

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.

Example


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

DragEnd(System.String)

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.

Example


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

DragEnd(System.Func)

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.

Example


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

LegendItemClick(System.String)

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.

Example


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

LegendItemClick(System.Func)

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.

Example


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

LegendItemHover(System.String)

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.

Example


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

LegendItemHover(System.Func)

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.

Example


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

LegendItemLeave(System.String)

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.

Example


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

LegendItemLeave(System.Func)

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.

Example


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

NoteClick(System.String)

Fired when the user clicks one of the notes.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see NoteClick event.

Parameters

handler - System.String

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

Example


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

NoteClick(System.Func)

Fired when the user clicks one of the notes.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see NoteClick event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

NoteHover(System.String)

Fired when the user hovers one of the notes.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see NoteHover event.

Parameters

handler - System.String

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

Example


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

NoteHover(System.Func)

Fired when the user hovers one of the notes.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see NoteHover event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

NoteLeave(System.String)

Fired when the cursor leaves a note.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see NoteLeave event.

Parameters

handler - System.String

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

Example


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

NoteLeave(System.Func)

Fired when the cursor leaves a note.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see NoteLeave event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

PaneRender(System.String)

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.

Example


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

PaneRender(System.Func)

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.

Example


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

PlotAreaClick(System.String)

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.

Example


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

PlotAreaClick(System.Func)

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.

Example


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

PlotAreaHover(System.String)

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.

Example


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

PlotAreaHover(System.Func)

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.

Example


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

PlotAreaLeave(System.String)

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.

Example


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

PlotAreaLeave(System.Func)

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.

Example


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

Render(System.String)

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 component instance.

For more information see Render event.

Parameters

handler - System.String

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

Example


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

Render(System.Func)

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 component instance.

For more information see Render event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

Select(System.String)

Fired when the user modifies the selection.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see Select event.

Parameters

handler - System.String

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

Example


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

Select(System.Func)

Fired when the user modifies the selection.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see Select event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

SelectEnd(System.String)

Fired when the user completes modifying the selection.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see SelectEnd event.

Parameters

handler - System.String

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

Example


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

SelectEnd(System.Func)

Fired when the user completes modifying the selection.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see SelectEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

SelectStart(System.String)

Fired when the user starts modifying the axis selection.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see SelectStart event.

Parameters

handler - System.String

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

Example


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

SelectStart(System.Func)

Fired when the user starts modifying the axis selection.The event handler function context (available via the this keyword) will be set to the component instance.

For more information see SelectStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

SeriesClick(System.String)

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.

Example


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

SeriesClick(System.Func)

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.

Example


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

SeriesHover(System.String)

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.

Example


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

SeriesHover(System.Func)

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.

Example


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

SeriesOver(System.String)

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.

Example


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

SeriesOver(System.Func)

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.

Example


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

SeriesLeave(System.String)

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.

Example


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

SeriesLeave(System.Func)

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.

Example


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

ZoomStart(System.String)

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.

Example


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

ZoomStart(System.Func)

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.

Example


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

Zoom(System.String)

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.

Example


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

Zoom(System.Func)

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.

Example


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

ZoomEnd(System.String)

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.

Example


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

ZoomEnd(System.Func)

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.

Example


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

In this article
Not finding the help you need?