# Events in FlexChart

Learn how to add event handlers to Wijmo charts in this documentation topic

## Content

The FlexChart provides events you can use to customize the appearance and behavior of the chart.

These events can be divided into categories:

* __Mouse__: The FlexChart relies on HTML events for mouse handling, and provides a __hitTest__ method that can be used to determine which part of the chart the event refers to. Mouse events can be used to add functionality such as zooming or drill-down. For more details, see [Hit-Testing](/wijmo/docs/Topics/Chart/Advanced/Hit-Testing).
* __Selection__: When the chart's __selectionMode__ property is set to __Series__ or __Point__, the chart will allow users select elements by clicking on them. The chart's __selection__ property will be updated and the __selectionChanged__ event will be fired. This event is typically used in master/detail scenarios. For more details, see [Selection](/wijmo/docs/Topics/Chart/Advanced/Selection).
* __Rendering__: The FlexChart has __rendering__ and __rendered__ events that allow you do add custom elements to the chart, either in the background or as overlays. For more details, see [Render Cycle](/wijmo/docs/Topics/Chart/Basic/Render-Cycle).

