An open API service indexing awesome lists of open source software.

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

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.