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

ChartEventBuilder

Methods

DataBound(System.Func)

Defines the inline handler of the DataBound client-side event

For more information see DataBound event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

DataBound(System.String)

Defines the name of the JavaScript function that will handle the the DataBound client-side event.

For more information see DataBound event.

Parameters

onDataBoundHandlerName - System.String

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

Example


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

SeriesClick(System.Func)

Defines the inline handler of the SeriesClick client-side event

For more information see SeriesClick event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

SeriesClick(System.String)

Defines the name of the JavaScript function that will handle the the SeriesClick client-side event.

For more information see SeriesClick event.

Parameters

onSeriesClickHandlerName - System.String

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

Example


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

SeriesHover(System.Func)

Defines the inline handler of the SeriesHover client-side event

For more information see SeriesHover event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

SeriesHover(System.String)

Defines the name of the JavaScript function that will handle the the SeriesHover client-side event.

For more information see SeriesHover event.

Parameters

onSeriesHoverHandlerName - System.String

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

Example


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

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().Chart()
                       .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().Chart()
                      .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().Chart()
                       .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().Chart()
                      .Name("Chart")
                      .Events(events => events.SeriesLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )

AxisLabelClick(System.Func)

Defines the inline handler of the AxisLabelClick client-side event

For more information see AxisLabelClick event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

AxisLabelClick(System.String)

Defines the name of the JavaScript function that will handle the the AxisLabelClick client-side event.

For more information see AxisLabelClick event.

Parameters

onAxisLabelClickHandlerName - System.String

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

Example


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

LegendItemClick(System.Func)

Defines the inline handler of the LegendItemClick client-side event

For more information see LegendItemClick event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

LegendItemClick(System.String)

Defines the name of the JavaScript function that will handle the the LegendItemClick client-side event.

For more information see LegendItemClick event.

Parameters

onLegendItemClickHandlerName - System.String

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

Example


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

LegendItemHover(System.Func)

Defines the inline handler of the LegendItemHover client-side event

For more information see LegendItemHover event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

LegendItemHover(System.String)

Defines the name of the JavaScript function that will handle the the LegendItemHover client-side event.

For more information see LegendItemHover event.

Parameters

onLegendItemHoverHandlerName - System.String

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

Example


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

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().Chart()
                       .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().Chart()
                      .Name("Chart")
                      .Events(events => events.LegendItemLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )

DragStart(System.String)

Defines the name of the JavaScript function that will handle the the DragStart client-side event.

For more information see DragStart event.

Parameters

onDragStartHandlerName - System.String

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

Example


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

DragStart(System.Func)

Defines the inline handler of the DragStart client-side event

For more information see DragStart event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

Drag(System.String)

Defines the name of the JavaScript function that will handle the the Drag client-side event.

For more information see Drag event.

Parameters

onDragHandlerName - System.String

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

Example


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

Drag(System.Func)

Defines the inline handler of the Drag client-side event

For more information see Drag event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

DragEnd(System.String)

Defines the name of the JavaScript function that will handle the the DragEnd client-side event.

For more information see DragEnd event.

Parameters

onDragEndHandlerName - System.String

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

Example


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

DragEnd(System.Func)

Defines the inline handler of the DragEnd client-side event

For more information see DragEnd event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

PlotAreaClick(System.Func)

Defines the inline handler of the PlotAreaClick client-side event

For more information see PlotAreaClick event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

PlotAreaClick(System.String)

Defines the name of the JavaScript function that will handle the the PlotAreaClick client-side event.

For more information see PlotAreaClick event.

Parameters

onPlotAreaClickHandlerName - System.String

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

Example


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

PlotAreaHover(System.Func)

Defines the inline handler of the PlotAreaHover client-side event

For more information see PlotAreaHover event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

PlotAreaHover(System.String)

Defines the name of the JavaScript function that will handle the the PlotAreaHover client-side event.

For more information see PlotAreaHover event.

Parameters

onPlotAreaHoverHandlerName - System.String

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

Example


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

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().Chart()
                       .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().Chart()
                      .Name("Chart")
                      .Events(events => events.PlotAreaLeave(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )

Render(System.Func)

Defines the inline handler of the Render client-side event

For more information see Render event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

Render(System.String)

Defines the name of the JavaScript function that will handle the the Render client-side event.

For more information see Render event.

Parameters

onRenderHandlerName - System.String

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

Example


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

ZoomStart(System.String)

Defines the name of the JavaScript function that will handle the the ZoomStart client-side event.

For more information see ZoomStart event.

Parameters

onZoomStartHandlerName - System.String

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

Example


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

ZoomStart(System.Func)

Defines the inline handler of the ZoomStart client-side event

For more information see ZoomStart event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

Zoom(System.String)

Defines the name of the JavaScript function that will handle the the Zoom client-side event.

For more information see Zoom event.

Parameters

onZoomHandlerName - System.String

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

Example


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

Zoom(System.Func)

Defines the inline handler of the Zoom client-side event

For more information see Zoom event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

ZoomEnd(System.String)

Defines the name of the JavaScript function that will handle the the ZoomEnd client-side event.

For more information see ZoomEnd event.

Parameters

onZoomEndHandlerName - System.String

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

Example


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

ZoomEnd(System.Func)

Defines the inline handler of the ZoomEnd client-side event

For more information see ZoomEnd event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

SelectStart(System.String)

Defines the name of the JavaScript function that will handle the the SelectStart client-side event.

For more information see SelectStart event.

Parameters

onSelectStartHandlerName - System.String

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

Example


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

SelectStart(System.Func)

Defines the inline handler of the SelectStart client-side event

For more information see SelectStart event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

Select(System.String)

Defines the name of the JavaScript function that will handle the the Select client-side event.

For more information see Select event.

Parameters

onSelectHandlerName - System.String

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

Example


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

Select(System.Func)

Defines the inline handler of the Select client-side event

For more information see Select event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

SelectEnd(System.String)

Defines the name of the JavaScript function that will handle the the SelectEnd client-side event.

For more information see SelectEnd event.

Parameters

onSelectEndHandlerName - System.String

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

Example


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

SelectEnd(System.Func)

Defines the inline handler of the SelectEnd client-side event

For more information see SelectEnd event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

NoteClick(System.String)

Defines the name of the JavaScript function that will handle the the NoteClick client-side event.

For more information see NoteClick event.

Parameters

onNoteClickHandlerName - System.String

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

Example


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

NoteClick(System.Func)

Defines the inline handler of the NoteClick client-side event

For more information see NoteClick event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

NoteHover(System.String)

Defines the name of the JavaScript function that will handle the the NoteHover client-side event.

For more information see NoteHover event.

Parameters

onNoteHoverHandlerName - System.String

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

Example


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

NoteHover(System.Func)

Defines the inline handler of the NoteHover client-side event

For more information see NoteHover event.

Parameters

inlineCodeBlock - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example


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

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 widget 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().Chart()
                       .Name("Chart")
                       .Events(events => events.NoteLeave("onNoteHover"))
            )

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

For more information see NoteLeave event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


            @(Html.Kendo().Chart()
                      .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().Chart()
                       .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().Chart()
                      .Name("Chart")
                      .Events(events => events.PaneRender(
                           @<text>
                           function(e) {
                               //event handling code
                           }
                           </text>
                      ))
            )

Drilldown(System.String)

Fires when the user when the user wants to drill down on a specific point.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see Drilldown event.

Parameters

handler - System.String

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

Drilldown(System.Func)

Fires when the user when the user wants to drill down on a specific point.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see Drilldown event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

DrilldownLevelChange(System.String)

Fires when the drill-down level has changed.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see DrilldownLevelChange event.

Parameters

handler - System.String

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

DrilldownLevelChange(System.Func)

Fires when the drill-down level has changed.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see DrilldownLevelChange event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?