Example

When you click the graph with the mouse the coordinates of the click are added to the dataset and the graph is redrawn. This is done by observing the 'flotr:click' event. Read more about the event hooks.

Finished? Go to the example index page or the Flotr Documentation Pages.

The Code