{"_id":"node-red-contrib-dashboard-sum-bars","_rev":"1-c1cfa039697690113d656dc2a05c0895","name":"node-red-contrib-dashboard-sum-bars","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"node-red-contrib-dashboard-sum-bars","version":"0.0.1","description":"Calculate and display the sum of msg.payload in a bar chart.","homepage":"https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars","author":{"name":"Fred Huard"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars.git"},"node-red":{"nodes":{"sum-bars":"sum-bars.js"}},"keywords":["node-red","dashboard","chart"],"gitHead":"7196675360af0970dd68644b40885aea0907f342","bugs":{"url":"https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars/issues"},"_id":"node-red-contrib-dashboard-sum-bars@0.0.1","scripts":{},"_shasum":"1adaf0e93109d25bee30e78451267fc479e26220","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.0","_npmUser":{"name":"nazcasun","email":"kalimo@wanadoo.fr"},"dist":{"shasum":"1adaf0e93109d25bee30e78451267fc479e26220","tarball":"https://registry.npmjs.org/node-red-contrib-dashboard-sum-bars/-/node-red-contrib-dashboard-sum-bars-0.0.1.tgz","integrity":"sha512-DeibUpWNYX7us9LKIWIbyit5r2fQm22KQUYHRmYmk4viQ/KgtEBSrokxbiCM7bEEWlvSVbsxQ/I6OZdxA1csiQ==","fileCount":8,"unpackedSize":37710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyxfLCRA9TVsSAnZWagAA/XgP/1eSTwH+BzsS+0YlmGto\nLALzUpgeLzwx59lz0QechVCbxSQynT+1e3IJDGnVi1qUat0rKauB3bfh6iO2\nxO8BidiVuTn8EWDoIqzgL+JcwKbqClyYwwZ+xMNqeHNa7Y3lacYt4vleo5K3\n0/fGpv7WdTJghkjPslH61eC+jOP7mW+fQKjQQjSIIOP4OwSWsvbh8UxpDFGG\nEsW1S1cus5TVltFUi/TWjDxUajADxMhZ0b+76gRbpVWB52/cU1PTJHXLM5UM\nXtTe40XyAzGJeOJcMpRPvhPamzwYWKAe/PtF++WqdVCmHo6j2uz03/2RXmM8\nYu9AC3plAWqlCuofz6RapYg/CPWfhqm7E6Oq1pjFRKU9kIcONCUpq1tWJduo\nFMiTSOcDxvrqT9aM8tKO5fwLeeXdUBq9PDO0BX0YQ4bcq/Zj7llzfgqJTrAp\nLlkq0zH+6JkG4sfdI2UySTDoKuiu5rMRhfZxV9aXBQU4Qkb7sob5MZcrxY5x\nt/V98n4FZUkQFcc/fiugnfKkynkp+zMA5rcSfzgp7eiz52njQBAfbj0mfUr8\nNIgIBCyMLdmO5oqTfP6+kjhLyKHC4OvOxS0maVEBE5W5BTKQAyGRLqt1Uh5J\nXHTHSACHGdURe1soHtIK62eoflaaDN+UcDItlmgaFMgrwwWeh3Xn7+MERHQX\ntaH+\r\n=FljQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGrfiWGEAbDcj6vY/9VQUSgzCKoxXbzzTcEXjCpgGangAiEA414PWFW3npB62IM1GiivaGw+HUx2VuG2U4PzpP03hPk="}]},"maintainers":[{"name":"nazcasun","email":"kalimo@wanadoo.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-dashboard-sum-bars_0.0.1_1540036554693_0.024990047243193203"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-20T11:55:54.693Z","0.0.1":"2018-10-20T11:55:54.886Z","modified":"2022-05-11T03:05:06.784Z"},"maintainers":[{"name":"nazcasun","email":"kalimo@wanadoo.fr"}],"description":"Calculate and display the sum of msg.payload in a bar chart.","homepage":"https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars","keywords":["node-red","dashboard","chart"],"repository":{"type":"git","url":"git+https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars.git"},"author":{"name":"Fred Huard"},"bugs":{"url":"https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars/issues"},"license":"MIT","readme":"# node-red-contrib-dashboard-sum-bars\nCalculate and display the sum values of msg.payload in a bar chart.\n\n<img src=\"https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars/blob/master/examples/sum-bars2.PNG?raw=true\"/>\n\n\n\n## Pre-requisites :\nnode-red-contrib-dashboard-sum-bars requires node-red-dashboard.\nThe sum-bars node is necessarily linked to the node-red dashboard template node. The sum-bars node create the input msg of the template node and the template node display the chart.\n\n<img src=\"https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars/blob/master/examples/sum-bars1.PNG?raw=true\"/>\n\n\n## Node properties :\nX-axis :\n- last hour : 1 bar per minute\n- last day : 1 bar per hour\n- last week : 1 bar per day\n- last month : 1 bar per day\n- last year : 1 bar per month\n- msg.topic : 1 bar for each msg.topic\n  \nY-axis : \n- \"auto\" : y-axis is calculated according to the msg.payload received.\n\nBar style :\n- rectangle : classical bar\n- equalizer : equalizer bar style\n\nBar colors : choice the color gradient of the bars\n\nDisplay values : check boxes to display or hide values :\n- bar values : value above the bar\n- x-axis values : period values (or msg.topic if x-axis = msg.topic )\n- chart sum : the sum of all values received\n\nUnit : unit to display behind values\n\nDecimals : number of decimals to display\n\nFont color : color of the scale and the values\n\n## Note :\n- sum-bars node values can be cleared by sending the string \"clear\" in the msg.payload. \n- Node-red reboot : keep the node values by storing the context values ( see contextStorage attribute in settings.js )\n","readmeFilename":"README.md"}