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

Defines the fluent interface for configuring the ChartEventBuilder.

Definition

Constructors

Initializes a new instance of the ChartEventBuilder class.

C#
public ChartEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

Defines the inline handler of the AxisLabelClick client-side event

C#
public ChartEventBuilder AxisLabelClick(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.AxisLabelClick(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder AxisLabelClick(string onAxisLabelClickHandlerName)
Parameters:onAxisLabelClickHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.AxisLabelClick("onAxisLabelClick"))
)

Defines the inline handler of the DataBound client-side event

C#
public ChartEventBuilder DataBound(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DataBound(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder DataBound(string onDataBoundHandlerName)
Parameters:onDataBoundHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DataBound("onDataBound"))
)

Defines the inline handler of the Drag client-side event

C#
public ChartEventBuilder Drag(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Drag(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder Drag(string onDragHandlerName)
Parameters:onDragHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Drag("onDrag"))
)

Defines the inline handler of the DragEnd client-side event

C#
public ChartEventBuilder DragEnd(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DragEnd(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder DragEnd(string onDragEndHandlerName)
Parameters:onDragEndHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DragEnd("onDragEnd"))
)

Defines the inline handler of the DragStart client-side event

C#
public ChartEventBuilder DragStart(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DragStart(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder DragStart(string onDragStartHandlerName)
Parameters:onDragStartHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DragStart("onDragStart"))
)

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.

C#
public ChartEventBuilder Drilldown(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Drilldown(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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.

C#
public ChartEventBuilder Drilldown(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Drilldown("onDrilldown"))
)

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.

C#
public ChartEventBuilder DrilldownLevelChange(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DrilldownLevelChange(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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.

C#
public ChartEventBuilder DrilldownLevelChange(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.DrilldownLevelChange("onDrilldownLevelChange"))
)

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Chart is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ChartEventBuilder KendoKeydown(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Chart is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ChartEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Defines the inline handler of the LegendItemClick client-side event

C#
public ChartEventBuilder LegendItemClick(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.LegendItemClick(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder LegendItemClick(string onLegendItemClickHandlerName)
Parameters:onLegendItemClickHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.LegendItemClick("onLegendItemClick"))
)

Defines the inline handler of the LegendItemHover client-side event

C#
public ChartEventBuilder LegendItemHover(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.LegendItemHover(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder LegendItemHover(string onLegendItemHoverHandlerName)
Parameters:onLegendItemHoverHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.LegendItemHover("onLegendItemHover"))
)

Fires when the cursor leaves a legend item.

C#
public ChartEventBuilder LegendItemLeave(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.LegendItemLeave(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

Fires when the cursor leaves a legend item.

C#
public ChartEventBuilder LegendItemLeave(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.LegendItemLeave("onLegendItemLeave"))
)

Defines the inline handler of the NoteClick client-side event

C#
public ChartEventBuilder NoteClick(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.NoteClick(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder NoteClick(string onNoteClickHandlerName)
Parameters:onNoteClickHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.NoteClick("onNoteClick"))
)

Defines the inline handler of the NoteHover client-side event

C#
public ChartEventBuilder NoteHover(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.NoteHover(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
.Render();
)

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

C#
public ChartEventBuilder NoteHover(string onNoteHoverHandlerName)
Parameters:onNoteHoverHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.NoteHover("onNoteHover"))
)

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

C#
public ChartEventBuilder NoteLeave(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.NoteLeave(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder NoteLeave(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.NoteLeave("onNoteHover"))
)

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.

C#
public ChartEventBuilder PaneRender(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PaneRender(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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.

C#
public ChartEventBuilder PaneRender(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PaneRender("onPaneRender"))
)

Defines the inline handler of the PlotAreaClick client-side event

C#
public ChartEventBuilder PlotAreaClick(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PlotAreaClick(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder PlotAreaClick(string onPlotAreaClickHandlerName)
Parameters:onPlotAreaClickHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PlotAreaClick("onPlotAreaClick"))
)

Defines the inline handler of the PlotAreaHover client-side event

C#
public ChartEventBuilder PlotAreaHover(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PlotAreaHover(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
.Render();
)

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

C#
public ChartEventBuilder PlotAreaHover(string onPlotAreaHoverHandlerName)
Parameters:onPlotAreaHoverHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PlotAreaHover("onPlotAreaHover"))
)

Fired when the cursor leaves the plotArea.

C#
public ChartEventBuilder PlotAreaLeave(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PlotAreaLeave(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

Fired when the cursor leaves the plotArea.

C#
public ChartEventBuilder PlotAreaLeave(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.PlotAreaLeave("onPlotAreaLeave"))
)

Defines the inline handler of the Render client-side event

C#
public ChartEventBuilder Render(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Render(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder Render(string onRenderHandlerName)
Parameters:onRenderHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Render("onRender"))
)

Defines the inline handler of the Select client-side event

C#
public ChartEventBuilder Select(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Select(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder Select(string onSelectHandlerName)
Parameters:onSelectHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Select("onSelect"))
)

Defines the inline handler of the SelectEnd client-side event

C#
public ChartEventBuilder SelectEnd(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SelectEnd(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder SelectEnd(string onSelectEndHandlerName)
Parameters:onSelectEndHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SelectEnd("onSelectEnd"))
)

Defines the inline handler of the SelectStart client-side event

C#
public ChartEventBuilder SelectStart(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SelectStart(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder SelectStart(string onSelectStartHandlerName)
Parameters:onSelectStartHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SelectStart("onSelectStart"))
)

Defines the inline handler of the SeriesClick client-side event

C#
public ChartEventBuilder SeriesClick(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesClick(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder SeriesClick(string onSeriesClickHandlerName)
Parameters:onSeriesClickHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesClick("onSeriesClick"))
)

Defines the inline handler of the SeriesHover client-side event

C#
public ChartEventBuilder SeriesHover(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesHover(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder SeriesHover(string onSeriesHoverHandlerName)
Parameters:onSeriesHoverHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesHover("onSeriesHover"))
)

Fired when the cursor leaves a chart series.

C#
public ChartEventBuilder SeriesLeave(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesLeave(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

Fired when the cursor leaves a chart series.

C#
public ChartEventBuilder SeriesLeave(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesLeave("onSeriesLeave"))
)

Fired when the cursor is over the chart series.

C#
public ChartEventBuilder SeriesOver(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesOver(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

Fired when the cursor is over the chart series.

C#
public ChartEventBuilder SeriesOver(string handler)
Parameters:handlerstring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.SeriesOver("onSeriesOver"))
)

Defines the inline handler of the Zoom client-side event

C#
public ChartEventBuilder Zoom(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Zoom(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder Zoom(string onZoomHandlerName)
Parameters:onZoomHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.Zoom("onZoom"))
)

Defines the inline handler of the ZoomEnd client-side event

C#
public ChartEventBuilder ZoomEnd(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.ZoomEnd(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder ZoomEnd(string onZoomEndHandlerName)
Parameters:onZoomEndHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.ZoomEnd("onZoomEnd"))
)

Defines the inline handler of the ZoomStart client-side event

C#
public ChartEventBuilder ZoomStart(Func<object, object> inlineCodeBlock)
Parameters:inlineCodeBlockFunc<object, object>

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.ZoomStart(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

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

C#
public ChartEventBuilder ZoomStart(string onZoomStartHandlerName)
Parameters:onZoomStartHandlerNamestring

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

Returns:

ChartEventBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Events(events =&gt; events.ZoomStart("onZoomStart"))
)
In this article
DefinitionConstructorsChartEventBuilder(IDictionary<string, object>)MethodsAxisLabelClick(Func<object, object>)AxisLabelClick(string)DataBound(Func<object, object>)DataBound(string)Drag(Func<object, object>)Drag(string)DragEnd(Func<object, object>)DragEnd(string)DragStart(Func<object, object>)DragStart(string)Drilldown(Func<object, object>)Drilldown(string)DrilldownLevelChange(Func<object, object>)DrilldownLevelChange(string)KendoKeydown(Func<object, object>)KendoKeydown(string)LegendItemClick(Func<object, object>)LegendItemClick(string)LegendItemHover(Func<object, object>)LegendItemHover(string)LegendItemLeave(Func<object, object>)LegendItemLeave(string)NoteClick(Func<object, object>)NoteClick(string)NoteHover(Func<object, object>)NoteHover(string)NoteLeave(Func<object, object>)NoteLeave(string)PaneRender(Func<object, object>)PaneRender(string)PlotAreaClick(Func<object, object>)PlotAreaClick(string)PlotAreaHover(Func<object, object>)PlotAreaHover(string)PlotAreaLeave(Func<object, object>)PlotAreaLeave(string)Render(Func<object, object>)Render(string)Select(Func<object, object>)Select(string)SelectEnd(Func<object, object>)SelectEnd(string)SelectStart(Func<object, object>)SelectStart(string)SeriesClick(Func<object, object>)SeriesClick(string)SeriesHover(Func<object, object>)SeriesHover(string)SeriesLeave(Func<object, object>)SeriesLeave(string)SeriesOver(Func<object, object>)SeriesOver(string)Zoom(Func<object, object>)Zoom(string)ZoomEnd(Func<object, object>)ZoomEnd(string)ZoomStart(Func<object, object>)ZoomStart(string)
Not finding the help you need?
Contact Support