ChartEventBuilder
Defines the fluent API for configuring the Kendo UI Chart for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartEventBuilder : EventBuilder
Inheritance: objectEventBuilderChartEventBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartEventBuilder class.
public ChartEventBuilder(IDictionary<string, object> events)
The Chart event handlers.
Methods
Defines the handler of the AxisLabelClick client-side event. Fired when the user clicks an axis label.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder AxisLabelClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the AxisLabelClick client-side event. Fired when the user clicks an axis label.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder AxisLabelClick(string handler)
The name of the JavaScript function that will handle the AxisLabelClick event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Drag client-side event. Fired as long as the user is dragging the chart using the mouse or swipe gestures.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Drag(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Drag client-side event. Fired as long as the user is dragging the chart using the mouse or swipe gestures.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Drag(string handler)
The name of the JavaScript function that will handle the Drag event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DragEnd client-side event. Fired when the user stops dragging the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder DragEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DragEnd client-side event. Fired when the user stops dragging the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DragStart client-side event. Fired when the user starts dragging the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder DragStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DragStart client-side event. Fired when the user starts dragging the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Drilldown client-side event. 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.
public ChartEventBuilder Drilldown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Drilldown client-side event. 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.
public ChartEventBuilder Drilldown(string handler)
The name of the JavaScript function that will handle the Drilldown event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DrilldownLevelChange client-side event. 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.
public ChartEventBuilder DrilldownLevelChange(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the DrilldownLevelChange client-side event. 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.
public ChartEventBuilder DrilldownLevelChange(string handler)
The name of the JavaScript function that will handle the DrilldownLevelChange event.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder LegendItemClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder LegendItemClick(string handler)
The name of the JavaScript function that will handle the LegendItemClick event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the LegendItemHover client-side event. Fires when an legend item is hovered.
public ChartEventBuilder LegendItemHover(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the LegendItemHover client-side event. Fires when an legend item is hovered.
public ChartEventBuilder LegendItemHover(string handler)
The name of the JavaScript function that will handle the LegendItemHover event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the LegendItemLeave client-side event. Fires when the cursor leaves a legend item.
public ChartEventBuilder LegendItemLeave(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the LegendItemLeave client-side event. Fires when the cursor leaves a legend item.
public ChartEventBuilder LegendItemLeave(string handler)
The name of the JavaScript function that will handle the LegendItemLeave event.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder NoteClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder NoteClick(string handler)
The name of the JavaScript function that will handle the NoteClick event.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder NoteHover(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder NoteHover(string handler)
The name of the JavaScript function that will handle the NoteHover event.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder NoteLeave(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder NoteLeave(string handler)
The name of the JavaScript function that will handle the NoteLeave event.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder PaneRender(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
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.
public ChartEventBuilder PaneRender(string handler)
The name of the JavaScript function that will handle the PaneRender event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the PlotAreaClick client-side event. Fired when the user clicks the plot area.
public ChartEventBuilder PlotAreaClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the PlotAreaClick client-side event. Fired when the user clicks the plot area.
public ChartEventBuilder PlotAreaClick(string handler)
The name of the JavaScript function that will handle the PlotAreaClick event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the PlotAreaHover client-side event. Fired when the user hovers the plot area.
public ChartEventBuilder PlotAreaHover(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the PlotAreaHover client-side event. Fired when the user hovers the plot area.
public ChartEventBuilder PlotAreaHover(string handler)
The name of the JavaScript function that will handle the PlotAreaHover event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the PlotAreaLeave client-side event. Fired when the cursor leaves the plotArea.
public ChartEventBuilder PlotAreaLeave(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the PlotAreaLeave client-side event. Fired when the cursor leaves the plotArea.
public ChartEventBuilder PlotAreaLeave(string handler)
The name of the JavaScript function that will handle the PlotAreaLeave event.
Returns:Returns the current instance of ChartEventBuilder .
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.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Render(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
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.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Render(string handler)
The name of the JavaScript function that will handle the Render event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Select client-side event. Fired when the user modifies the selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Select client-side event. Fired when the user modifies the selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SelectEnd client-side event. Fired when the user completes modifying the selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder SelectEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SelectEnd client-side event. Fired when the user completes modifying the selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder SelectEnd(string handler)
The name of the JavaScript function that will handle the SelectEnd event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SelectStart client-side event. Fired when the user starts modifying the axis selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder SelectStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SelectStart client-side event. Fired when the user starts modifying the axis selection.The range units are: Generic axis - Category index (0-based) or Date axis - Date instance. The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder SelectStart(string handler)
The name of the JavaScript function that will handle the SelectStart event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesClick client-side event. Fired when the user clicks the chart series.
public ChartEventBuilder SeriesClick(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesClick client-side event. Fired when the user clicks the chart series.
public ChartEventBuilder SeriesClick(string handler)
The name of the JavaScript function that will handle the SeriesClick event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesHover client-side event. Fired when the user hovers the chart series.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder SeriesHover(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesHover client-side event. Fired when the user hovers the chart series.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder SeriesHover(string handler)
The name of the JavaScript function that will handle the SeriesHover event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesLeave client-side event. Fired when the cursor leaves a chart series.
public ChartEventBuilder SeriesLeave(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesLeave client-side event. Fired when the cursor leaves a chart series.
public ChartEventBuilder SeriesLeave(string handler)
The name of the JavaScript function that will handle the SeriesLeave event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesOver client-side event. Fired when the cursor is over the chart series.
public ChartEventBuilder SeriesOver(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the SeriesOver client-side event. Fired when the cursor is over the chart series.
public ChartEventBuilder SeriesOver(string handler)
The name of the JavaScript function that will handle the SeriesOver event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Zoom client-side event. Fired as long as the user is zooming the chart using the mousewheel.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Zoom(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the Zoom client-side event. Fired as long as the user is zooming the chart using the mousewheel.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder Zoom(string handler)
The name of the JavaScript function that will handle the Zoom event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the ZoomEnd client-side event. Fired when the user stops zooming the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder ZoomEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the ZoomEnd client-side event. Fired when the user stops zooming the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder ZoomEnd(string handler)
The name of the JavaScript function that will handle the ZoomEnd event.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the ZoomStart client-side event. Fired when the user uses the mousewheel to zoom the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder ZoomStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of ChartEventBuilder .
Defines the handler of the ZoomStart client-side event. Fired when the user uses the mousewheel to zoom the chart.The event handler function context (available via the this keyword) will be set to the widget instance.
public ChartEventBuilder ZoomStart(string handler)
The name of the JavaScript function that will handle the ZoomStart event.
Returns:Returns the current instance of ChartEventBuilder .