Closed davidkirwan closed 11 years ago
https://github.com/flot/flot looks like a potential replacement, according to the licence at https://github.com/flot/flot/blob/master/LICENSE.txt it can be used within commercial projects.
Will build a replacement graph for the system status using Flot and see how it performs
https://github.com/DmitryBaranovskiy/g.raphael is another potential replacement with the licence also granting commercial projects to use the library as shown here: http://raphaeljs.com/license.html
Will attempt to replace the dynamically updating system status graph using g.Raphael
Another potential library is the D3.js library https://github.com/mbostock/d3 the licence seems reasonably permissive to use in my project, https://github.com/mbostock/d3/blob/master/LICENSE
I've begun to investigate the flot library, its forced me to first take care of an issue with the /api/v1/system/status API end point. I've implemented a RingBuffer which keeps 15 minutes worth of status updates to hand. The new graph builder will be able to query this buffer using the /api/v1/system/status/list endpoint.
Havn't had time to do any work on this recently, hopefully over the weekend.
Made a quick attempt at integrating flot into the status system.
Fixed on dev branch
The only component currently used in Ardtweeno which has a Non-Commercial licence attached is Highcharts.js. Until a replacement is sourced and implemented, the Ardtweeno system must also remain as non commercial software.
Once a replacement is sourced, reimplement the status graph in this new library and allow the Ardtweeno gateway licence to be changed from a non commercial licence to something which allows integration in commercial systems.