emoncms

Great work guys. I found it very easy using your guide to install emoncms and get working. Hope you can spare the time to answer two questions for me: Firstly where is color code for Realtime and Bargraph data ( I found Dashboard dials at location - ....Vis/Dashboard/widgets/dial.js. Second question can labels be added for x - axis e.g. kWh.

Cheers

Peter

TrystanLea's picture

Re: emoncms

Hello Peter

The color codes are currently pre-set within the flot graphing library, however it is possible to change the colors and add titles labels etc using the flot api. http://code.google.com/p/flot

Their api is well documented, take a look at the examples in particular here: http://people.iola.dk/olau/flot/examples/ and click on view source to see how the options are set etc

Then set the options here:

https://github.com/openenergymonitor/emoncms3/blob/master/Vis/flot/scripts/inst.js

line 61 onwards for the raw data graph.

All the best

Trystan

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.