跳转到主要内容

toscawidgets2对flot jQuery插件的包装

项目描述

tw2.jqplugins.flot是toscawidgets2 (tw2)flot的包装。

实时演示

查看实时演示

描述

toscawidgets2 (tw2)旨在成为一个实用且有用的组件框架,帮助人们更快、更轻松地构建具有吸引力的功能交互式网站。组件是可重用的Web组件,可以包括模板、服务器端代码和JavaScripts/CSS资源。该库旨在是:灵活的、可靠的、文档化的、性能的,尽可能简单。

flot是一个针对jQuery的纯JavaScript绘图库。它可以在客户端即时生成任意数据集的图形图。

本模块 tw2.jqplugins.flot 提供了对 toscawidgets2 (tw2) 的访问,以使用 flot 小部件。

在 WidgetBrowser 中体验 tw2.jqplugins.flot

要了解 tw2.jqplugins.flot,最佳方法是将其小部件加载到 tw2.devtools WidgetBrowser 中。要查看配置它们的源代码,请查看 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

……然后浏览到 https://127.0.0.1:8000/ 以进行检查。

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解更多关于 安装软件包 的信息。

源代码分发

tw2.jqplugins.flot-2.0.2.tar.gz (298.5 kB 查看哈希值)

源代码

由以下支持