Flotr is a javascript plotting library based on the Prototype Javascript Framework (version 1.6.0.2 at the moment) and inspired by Flot (written by Ole Laursen).
Flotr enables you to draw appealing graphs in most modern browsers with an
easy to learn syntax. It comes with great features like legend support, negative
value support, mouse tracking, selection support, zoom support, event hooks, CSS
styling support and much more.

Flotr is the replacement of Plotr. Because Plotr is deprecated, I recommend switching to Flotr.

Subscribe to the the Flotr RSS feed to keep informed about updates, examples etc.

Click here for a Belorussian translation of this page (translation provided by Paul Bukhovko).

Documentation & Examples

I wrote some documentation and examples that should show you most important features of Flotr. You can find it at the Flotr Documentation Page.

Browser support

Currently I’m testing with the following browsers:

  • Firefox 2.0.0.12
  • Opera 9.25 and 9.50 beta1
  • Microsoft Internet Explorer 6 and 7 (Canvas emulated using ExCanvas)
  • Safari 3.0.4 (for Windows)

I’m trying to support all of these. Please report bugs at the Google Project Page, and I’ll see what I can do for you.

Canvas HTML is emulated by ExplorerCanvas, a javascript that let’s you handle VML the same way as HTML Canvas.

Requirements

Download

You can download the latest version (0.1.0alpha) at the Flotr Google Project Page. The Flotr zip package comes with:

  • minified version of Flotr (used YUI Compressor 2.3.5 for compression).
  • debug version of Flotr (including code comments).
  • Prototype 1.6.0.2 (not compressed).
  • minified version of ExCanvas (Including an important bug fix)

License

Flotr is released under the MIT License.

Get help

If you found a bug, or if you have an improvement/idea, leave a note in the issue tracker.

For questions, go to the F.A.Q.

I distribute Flotr ‘as is’, I don not get paid for it and therefore I have no time to do support for it and I won’t answer trivial questions.

Donate

To support the development of Flotr, you can leave a small amount of money. It takes quite some time to maintain Flotr on my own, so your donation is greatly appreciated.