Chapter 10 flot4

One of the goals of Flot is to support user interactions. Try pointing and clicking on the points.

A tooltip is easy to build with a bit of jQuery code and the data returned from the plot.

Sometimes it makes more sense to just let the plot take up the available space. In that case, we need to redraw the plot each time the placeholder changes its size. If you include the resize plugin, this is handled automatically.

Drag the bottom and right sides of the plot to resize it.