车队jquery插件的toscawidgets2包装器
tw2.jqplugins.flot的Python项目详细描述
tw2.jqplugins.flot是flot的toscawidgets2 (tw2)包装器。
现场演示
说明
toscawidgets2 (tw2)旨在成为一个实用和有用的widgets框架 帮助人们建立具有引人注目的功能、更快 更容易。widgets是可重用的web组件,可以包含一个模板, 服务器端代码和javascripts/css资源。图书馆的目标是: 灵活,可靠,文档化,性能好,尽可能简单。
flot是jquery的纯javascript绘图库。它生成图形 动态客户端上任意数据集的绘图。
这个模块tw2.jqplugins.flot提供toscawidgets2 (tw2)访问 到flot小部件。
在WidgetBrowser中对tw2.jqplugins.flot进行采样
扩展tw2.jqplugins.flot范围的最佳方法是在 tw2.devtoolswidgetbrowser。要查看配置它们的源代码, 签出tw2.jqplugins.flot/tw2/jqplugins/flot/samples.py
要尝试它,您需要git、python和virtualenvwrapper。运行:
$ git clone git://github.com/toscawidgets/tw2.jqplugins.flot.git $ cd tw2.jqplugins.flot $ mkvirtualenv tw2.jqplugins.flot (tw2.jqplugins.flot) $ pip install tw2.devtools (tw2.jqplugins.flot) $ python setup.py develop (tw2.jqplugins.flot) $ paster tw2.browser
…然后浏览到http://localhost:8000/查看。