It's possible to listen out for events on charts allowing users to interact with the data being presented. This includes interactions, such as clicking on charts' series (bars, lines, and so on) and hovering over specific areas of a graph.
By adding support for these types of interactions to your charts you will enhance the user experience and allow more in-depth data to be revealed when it's needed.
This example will demonstrate how to listen for various mouse events, such as clicking and hovering.
This recipe requires the use of a web server for serving the charts data. A JSON file is provided with example data.