Skip to content

brianpeiris/highlightSeries

Repository files navigation

The highlightSeries plugin for Flot

The highlightSeries plugin for Flot allows you to highlight whole series on a plot. The plugin is up to 3 times faster than manually changing the color of a series and redrawing the entire plot. It also has the added benefit of highlighting the series in an overlay which gives the appearance of having moved the series to the foreground and practically elminiates the time needed to clear the highlight.

Usage

The highlightSeries plugin is compatible with Flot 0.7 and requires that you patch the Flot source code since it uses a slightly modified version of an internal function. See the patch file. Once the patch is applied, you simply need to include jquery.flot.highlightSeries.js in a script tag.

Demo

http://brian.peiris.io/highlightSeries/