jqplot jquery插件的toscawidgets2包装器
tw2.jqplugins.jqplot的Python项目详细描述
jqplugins.jqplot是jqPlot的toscawidgets2 (tw2)包装器。
现场演示
说明
toscawidgets2 (tw2)旨在成为一个实用和有用的widgets框架 帮助人们建立具有引人注目的功能、更快 更容易Widgets是可重用的web组件,可以包含一个模板, 服务器端代码和javascripts/css资源。图书馆的目标是: 灵活,可靠,文档化,性能好,尽可能简单。
jqPlot是jquery javascript的绘图和图表插件 框架jqPlot生成漂亮的线条、条形图和饼图。
这个模块tw2.jqplugins.jqplot提供toscawidgets2 (tw2)访问 到jqPlot小部件。
在WidgetBrowser中对tw2.jqplugins.jqplot进行采样
扩展tw2.jqplugins.jqplot范围的最佳方法是在 tw2.devtoolswidgetbrowser。要查看配置它们的源代码, 签出tw2.jqplugins.jqplot/tw2/jqplugins/jqplot/samples.py
要尝试它,您需要git、python和virtualenvwrapper运行:
$ 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
…然后浏览到http://localhost:8000/查看。