https://github.com/wirecloud/flotr2-graph-widget
Generic Graph widget for WireCloud using flotr2
https://github.com/wirecloud/flotr2-graph-widget
Last synced: 17 days ago
JSON representation
Generic Graph widget for WireCloud using flotr2
- Host: GitHub
- URL: https://github.com/wirecloud/flotr2-graph-widget
- Owner: Wirecloud
- License: apache-2.0
- Created: 2014-05-08T11:16:19.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T12:40:56.000Z (over 9 years ago)
- Last Synced: 2025-10-29T15:52:11.097Z (9 months ago)
- Language: JavaScript
- Size: 82 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Flotr2 widget
=============
This WireCloud widget allows you to create any graph supported by flotr2. See http://www.humblesoftware.com/flotr2/index for more info about what kind of graphics you can obtain using this widget.
This widget creates a Flotr2 using the configuration and data provided through wiring. In addition to this, this widget also has code for adding the following features:
* Mouse zoom
## Build
Be sure to have installed [Node.js](http://node.js) and [Bower](http://bower.io) in your system. For example, you can install it on Ubunutu and Debian running the following commands:
```bash
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm install -g bower
```
Install other npm dependencies by running:
```bash
npm install
```
For build the widget you need download grunt:
```bash
sudo npm install -g grunt-cli
```
And now, you can use grunt:
```bash
grunt
```
If everything goes well, you will find a wgt file in the **build** folder.
## Documentation
Documentation about how to use this widget is available on the
[User Guide](src/doc/userguide.md). Anyway, you can find general information
about how to use widgets on the
[WireCloud's User Guide](https://wirecloud.readthedocs.io/en/stable/user_guide/)
available on Read the Docs.
## Copyright and License
Copyright (c) 2016 Vendor
Licensed under the MIT license.