TIP FlotChartPlugin is not installed on Foswiki.org.

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

Plugin Author(s): Foswiki:Main.SvenDowideit - http://fosiki.com a wikiringlogo20x20.png WikiRing founding partner
Copyright: © SvenDowideit@fosiki.com
License: MIT License
Release: 1.3
Version: 9525 (2010-10-06)
Change History:  
Oct 2010: (1.3) Uploding a fixed version that works with the newer versions of JQueryPlugin and ZonePlugin. Thanks to Foswiki:Main/OlivierRaginel for the fix -- Foswiki:Main.AntonioTerceiro
June 2010: (1.2) Fixed Foswiki:Tasks/Item8659 and Foswiki:Tasks/Item9120. FlotChartPlugin now depends on JQueryPlugin -- Foswiki:Main.AntonioTerceiro
Nov 2009: Initial public release
Dependencies:
NameVersionDescription
Foswiki::Plugins::JQueryPlugin>=7299jQuery library
Plugin Home: http://Foswiki.org/Extensions/FlotChartPlugin
Feedback: http://Foswiki.org/Support/FlotChartPlugin

I Attachment Action Size Date Who Comment
FlotChartPlugin.md5md5 FlotChartPlugin.md5 manage 168 bytes 06 Oct 2010 - 21:41 AntonioTerceiro  
FlotChartPlugin.sha1sha1 FlotChartPlugin.sha1 manage 192 bytes 06 Oct 2010 - 21:41 AntonioTerceiro  
FlotChartPlugin.tgztgz FlotChartPlugin.tgz manage 215 K 06 Oct 2010 - 21:41 AntonioTerceiro  
FlotChartPlugin.zipzip FlotChartPlugin.zip manage 238 K 06 Oct 2010 - 21:40 AntonioTerceiro  
FlotChartPlugin_installerEXT FlotChartPlugin_installer manage 7 K 06 Oct 2010 - 21:41 AntonioTerceiro  
wikiringlogo20x20.pngpng wikiringlogo20x20.png manage 1 K 06 Oct 2010 - 21:40 AntonioTerceiro  
Topic revision: r1 - 06 Oct 2010, AntonioTerceiro
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy