FlotChartPlugin
A JQuery based CHARTs for Foswiki
Description
Currently based on Flot 0.6
(from
http://code.google.com/p/flot)
Flot is a pure Javascript plotting library for jQuery. It produces graphical plots of arbitrary datasets on-the-fly client-side.
The focus is on simple usage (all settings are optional), attractive looks and interactive features like zooming.
Although Flot is easy to use, it is also advanced enough to be suitable for Web 2.0 data mining/business intelligence purposes which is its original application.
The plugin is targeting all newer browsers. If you find a problem, please report it. Drawing is done with the
<canvas>
tag introduced by Safari and now available on all major browsers, except Internet Explorer where the
excanvas
Javascript emulation helper is used.
Documentation
Examples
Two series
You type:
%FLOTCHART{
"test,more"
test="[1, 23],[2, 87],[3, 11],[4, 17],[5, 21],[6, 45],[7, 34],[8, 23]"
more="[1, 2],[2, 4],[3, 6],[4, 8],[5, 18],[6, 12],[7, 14],[8, 16]"
xticks="[1, 'start'],[4, 'middle'],[8, 'finish']"
yticks="1,25,50,75,100"
ymax="100"
height="120px"
width="400px"
}%
You get: (if installed)
%FLOTCHART{
"test,more"
test="[1, 23],[2, 87],[3, 11],[4, 17],[5, 21],[6, 45],[7, 34],[8, 23]"
more="[1, 2],[2, 4],[3, 6],[4, 8],[5, 18],[6, 12],[7, 14],[8, 16]"
xticks="[1, 'start'],[4, 'middle'],[8, 'finish']"
yticks="1,25,50,75,100"
ymax="100"
height="120px"
width="400px"
}%
Distribution examples
Installation Instructions
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See
http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Plugin Info