The Pie Chart Generator operator is a WireCloud operator that provides the ability to draw pie charts.
NOTE: This WireCloud operator is based on pie-chart-generator-operator of agile-dashboards created by CoNWeT Lab., Universidad Politecnica de Madrid and Future Internet Consulting and Development Solutions S.L..
Be sure to have installed Node.js in your system. For example, you can install it on Ubuntu and Debian running the following commands:
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install npm
If you want the last version of the operator, you should change to the develop
branch:
git checkout develop
Install other npm dependencies by running: (need root because some libraries use applications, check package.json before to be sure)
sudo npm install
For build the operator you need download grunt:
sudo npm install -g grunt-cli
And now, you can use grunt:
grunt
If everything goes well, you will find a wgt file in the dist
folder.
Chart Title
: The title for the chart.
Number Data Serie
: A data series made of numeric values. Each number represents a pie)Label Data Serie
: A data series made of labels. Each label represents a pie, counts repetitions to get their size.
Chart Data Model
: The chart data model to be passed to the Highcharts widget.
Plug in one of the inputs (Label Data Serie
takes preference) and plug the output to the Highcharts widget.
Copyright (c) 2020-2024 Kazuhito Suda
Copyright (c) 2020 Future Internet Consulting and Development Solutions S.L.
Copyright (c) 2016 CoNWeT Lab., Universidad Politecnica de Madrid