Source

tw2.jqplugins.jqplot /

Filename Size Date modified Message
tw2
176 B
118 B
2.0 KB
38 B
1.7 KB

tw2.jqplugins.jqplot

Author: Ralph Bean <rbean@redhat.com>

tw2.jqplugins.jqplot is a toscawidgets2 (tw2) wrapper for jqPlot.

Live Demo

Peep the live demonstration.

Description

toscawidgets2 (tw2) aims to be a practical and useful widgets framework that helps people build interactive websites with compelling features, faster and easier. Widgets are re-usable web components that can include a template, server-side code and JavaScripts/CSS resources. The library aims to be: flexible, reliable, documented, performant, and as simple as possible.

jqPlot is a plotting and charting plugin for the jQuery Javascript framework. jqPlot produces beautiful line, bar and pie charts.

This module, tw2.jqplugins.jqplot, provides toscawidgets2 (tw2) access to jqPlot widgets.

Sampling tw2.jqplugins.jqplot in the WidgetBrowser

The best way to scope out tw2.jqplugins.jqplot is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.jqplugins.jqplot/tw2/jqplugins/jqplot/samples.py

To give it a try you'll need git, python, and virtualenvwrapper. Run:

$ git clone git://github.com/toscawidgets/tw2.jqplugins.jqplot.git
$ cd tw2.jqplugins.jqplot
$ mkvirtualenv tw2.jqplugins.jqplot
(tw2.jqplugins.jqplot) $ pip install tw2.devtools
(tw2.jqplugins.jqplot) $ python setup.py develop
(tw2.jqplugins.jqplot) $ paster tw2.browser

...and browse to http://localhost:8000/ to check it out.