Skip to main content

ChartControl Events

Visualizes data as bars, areas, lines and other shapes. See Chart Control.
Name Description
AnimationEnded Occurs after animations end.
AnnotationRepositoryChanged Occurs after a user adds, edits or deletes an annotation.
AnnotationRepositoryChanging Occurs when a user adds, edits or deletes an annotation before the user’s operation is applied to the annotation repository.
AutoSizeChanged This event is not relevant for this class. Inherited from Control.
AxisScaleChanged Occurs when the scale mode, measure unit, grid alignment or grid spacing of the axis scale has been changed.
AxisVisualRangeChanged Occurs when the axis visual range has been changed.
AxisWholeRangeChanged Occurs when the axis whole range has been changed.
BackColorChanged Occurs when the value of the BackColor property changes. Inherited from Control.
BackgroundImageChanged Occurs when the value of the BackgroundImage property changes. Inherited from Control.
BackgroundImageLayoutChanged Occurs when the BackgroundImageLayout property changes. Inherited from Control.
BeforeScroll Occurs before the diagram is scrolled.
BeforeZoom Occurs before the chart is zoomed.
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from Control.
BoundDataChanged Occurs every time a chart control generates its series points from the underlying data source.
CausesValidationChanged Occurs when the value of the CausesValidation property changes. Inherited from Control.
ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change. Inherited from Control.
Click Occurs when the control is clicked. Inherited from Control.
ClientSizeChanged Occurs when the value of the ClientSize property changes. Inherited from Control.
ConstantLineMoved Occurs when a user moves a constant line.
ContextMenuChanged Occurs when the value of the ContextMenu property changes. Inherited from Control.
ContextMenuStripChanged Occurs when the value of the ContextMenuStrip property changes. Inherited from Control.
ControlAdded Occurs when a new control is added to the Control.ControlCollection. Inherited from Control.
ControlRemoved Occurs when a control is removed from the Control.ControlCollection. Inherited from Control.
CursorChanged Occurs when the value of the Cursor property changes. Inherited from Control.
CustomDrawAxisLabel Occurs before axis label items are drawn when the chart’s contents are being drawn.
CustomDrawCrosshair Occurs before crosshair items are drawn when the chart’s contents are being drawn.
CustomDrawSeries Occurs before a series is drawn when the chart’s contents are being drawn.
CustomDrawSeriesPoint Occurs before a series point is drawn when the chart’s contents is being drawn.
CustomizeAutoBindingSettings Occurs after automatic settings are applied to a chart’s data source.
CustomizeLegend Obsolete. Occurs before automatic settings are applied to the legend‘s layout properties.
CustomizePieTotalLabel Occurs when the ChartControl draws total labels for Pie and Doughnut series.
CustomizeResolveOverlappingMode Obsolete. Occurs before the chart enables a mode that allows you to avoid overlapping series labels.
CustomizeSimpleDiagramLayout Occurs after the adaptive layout is enabled for the chart control to customize the Simple Diagram‘s layout properties.
CustomizeStackedBarTotalLabel Occurs when the ChartControl draws total labels for Stacked Bar series.
CustomizeXAxisLabels Obsolete. Occurs after automatic layout settings are applied to the X-axis’ labels.
CustomPaint Occurs after all the chart’s visual elements have been drawn.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DockChanged Occurs when the value of the Dock property changes. Inherited from Control.
DoubleClick Occurs when the control is double-clicked. Inherited from Control.
DragDrop Occurs when a drag-and-drop operation is completed. Inherited from Control.
DragEnter Occurs when an object is dragged into the control’s bounds. Inherited from Control.
DragLeave Occurs when an object is dragged out of the control’s bounds. Inherited from Control.
DragOver Occurs when an object is dragged over the control’s bounds. Inherited from Control.
DrillDownStateChanged Occurs when the Chart Control’s drill down state is changed.
DrillDownStateChanging Occurs before the Chart Control’s drill down state is changed.
EnabledChanged Occurs when the Enabled property value has changed. Inherited from Control.
EndLoading Occurs when the Chart Control’s object model is completely initialized.
Enter Occurs when the control is entered. Inherited from Control.
FontChanged Occurs when the Font property value changes. Inherited from Control.
ForeColorChanged Occurs when the ForeColor property value changes. Inherited from Control.
GiveFeedback Occurs during a drag operation. Inherited from Control.
GotFocus Occurs when the control receives focus. Inherited from Control.
HandleCreated Occurs when a handle is created for the control. Inherited from Control.
HandleDestroyed Occurs when the control’s handle is in the process of being destroyed. Inherited from Control.
HelpRequested Occurs when the user requests help for a control. Inherited from Control.
ImeModeChanged Occurs when the ImeMode property has changed. Inherited from Control.
Invalidated Occurs when a control’s display requires redrawing. Inherited from Control.
KeyDown Occurs when a key is pressed while the control has focus. Inherited from Control.
KeyPress Occurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control.
KeyUp Occurs when a key is released while the control has focus. Inherited from Control.
Layout Occurs when a control should reposition its child controls. Inherited from Control.
Leave Occurs when the input focus leaves the control. Inherited from Control.
LegendItemChecked Occurs when a legend item is checked in the legend checkbox.
LocationChanged Occurs when the Location property value has changed. Inherited from Control.
LostFocus Occurs when the control loses focus. Inherited from Control.
MarginChanged Occurs when the control’s margin changes. Inherited from Control.
MouseCaptureChanged Occurs when the control loses mouse capture. Inherited from Control.
MouseClick Occurs when the control is clicked by the mouse. Inherited from Control.
MouseDoubleClick Occurs when the control is double clicked by the mouse. Inherited from Control.
MouseDown Occurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control.
MouseEnter Occurs when the mouse pointer enters the control. Inherited from Control.
MouseHover Occurs when the mouse pointer rests on the control. Inherited from Control.
MouseLeave Occurs when the mouse pointer leaves the control. Inherited from Control.
MouseMove Occurs when the mouse pointer is moved over the control. Inherited from Control.
MouseUp Occurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control.
MouseWheel Occurs when the mouse wheel moves while the control has focus. Inherited from Control.
Move Occurs when the control is moved. Inherited from Control.
ObjectHotTracked Occurs before any chart element is hot-tracked at runtime.
ObjectSelected Occurs before any chart element is selected at runtime.
PaddingChanged Occurs when the control’s padding changes. Inherited from Control.
Paint Occurs when the control is redrawn. Inherited from Control.
PaneCollapsedChanged Occurs when any chart pane’s collapse state is changed.
ParentChanged Occurs when the Parent property value changes. Inherited from Control.
PieSeriesPointExploded Fires when a pie slice, representing a series point, is moved to or from the pie center.
PivotChartingCustomizeLegend Occurs before automatic settings are applied to the legend‘s layout properties.
PivotChartingCustomizeResolveOverlappingMode Occurs before the chart enables a mode that allows you to avoid overlapping series labels.
PivotChartingCustomizeXAxisLabels Occurs after automatic layout settings are applied to the X-axis’ labels.
PivotGridSeriesExcluded Occurs after a chart has been bound to a Pivot Grid.
PivotGridSeriesPointsExcluded Occurs after a chart has been bound to a Pivot Grid.
PreviewKeyDown Occurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
PrintInitialize Allows you to customize print and export options before the chart is printed or exported.
QueryAccessibilityHelp Occurs when AccessibleObject is providing help to accessibility applications. Inherited from Control.
QueryContinueDrag Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control.
QueryCursor Occurs when there is a request to display the cursor.
RegionChanged Occurs when the value of the Region property changes. Inherited from Control.
Resize Occurs when the control is resized. Inherited from Control.
RightToLeftChanged Occurs when the RightToLeft property value changes. Inherited from Control.
Scroll Occurs when an end-user scrolls the ChartControl.
Scroll3D Occurs when an end-user scrolls the 3D diagram.
SelectedItemsChanged Occurs after the selection of a chart item has been changed.
SelectedItemsChanging Occurs before the Chart Control’s selected items collection is changed, enabling a handler to cancel the selection change.
SizeChanged Occurs when the Size property value changes. Inherited from Control.
SmallChartTextShowing Occurs when the control shrinks to a size that cannot accommodate a readable chart.
StyleChanged Occurs when the control style changes. Inherited from Control.
SystemColorsChanged Occurs when the system colors change. Inherited from Control.
TabIndexChanged Occurs when the TabIndex property value changes. Inherited from Control.
TabStopChanged Occurs when the TabStop property value changes. Inherited from Control.
TextChanged Occurs when the Text property value changes. Inherited from Control.
Validated Occurs when the control is finished validating. Inherited from Control.
Validating Occurs when the control is validating. Inherited from Control.
VisibleChanged Occurs when the Visible property value changes. Inherited from Control.
Zoom Occurs when an end-user zooms in or out of the ChartControl.
Zoom3D Occurs when an end-user zooms in or out of the 3D diagram.
See Also