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)

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

Topic attachments
I Attachment Action Size Date Who Comment
API.txttxt API.txt manage 37 K 06 Oct 2010 - 21:41 AdminUser  
FAQ.txttxt FAQ.txt manage 2 K 06 Oct 2010 - 21:41 AdminUser  
FoswikiStatsPlugin.pngpng FoswikiStatsPlugin.png manage 50 K 06 Oct 2010 - 21:41 AdminUser  
LICENSE.txttxt LICENSE.txt manage 1 K 06 Oct 2010 - 21:41 AdminUser  
MakefileEXT Makefile manage 451 bytes 06 Oct 2010 - 21:41 AdminUser  
NEWS.txttxt NEWS.txt manage 13 K 06 Oct 2010 - 21:41 AdminUser  
PLUGINS.txttxt PLUGINS.txt manage 3 K 06 Oct 2010 - 21:41 AdminUser  
README.txttxt README.txt manage 2 K 06 Oct 2010 - 21:41 AdminUser  
excanvas.jsjs excanvas.js manage 40 K 06 Oct 2010 - 21:41 AdminUser  
excanvas.min.jsjs excanvas.min.js manage 18 K 06 Oct 2010 - 21:41 AdminUser  
jquery.colorhelpers.jsjs jquery.colorhelpers.js manage 5 K 06 Oct 2010 - 21:41 AdminUser  
jquery.colorhelpers.min.jsjs jquery.colorhelpers.min.js manage 2 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.crosshair.jsjs jquery.flot.crosshair.js manage 4 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.crosshair.min.jsjs jquery.flot.crosshair.min.js manage 1 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.image.jsjs jquery.flot.image.js manage 7 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.image.min.jsjs jquery.flot.image.min.js manage 1 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.jsjs jquery.flot.js manage 87 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.min.jsjs jquery.flot.min.js manage 32 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.navigate.jsjs jquery.flot.navigate.js manage 11 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.navigate.min.jsjs jquery.flot.navigate.min.js manage 4 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.selection.jsjs jquery.flot.selection.js manage 10 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.selection.min.jsjs jquery.flot.selection.min.js manage 3 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.stack.jsjs jquery.flot.stack.js manage 5 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.stack.min.jsjs jquery.flot.stack.min.js manage 1 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.threshold.jsjs jquery.flot.threshold.js manage 3 K 06 Oct 2010 - 21:41 AdminUser  
jquery.flot.threshold.min.jsjs jquery.flot.threshold.min.js manage 910 bytes 06 Oct 2010 - 21:41 AdminUser  
wikiringlogo20x20.pngpng wikiringlogo20x20.png manage 1 K 06 Oct 2010 - 21:41 AdminUser  
Topic revision: r3 - 27 Nov 2023, AdminUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback