[beta] new gauge widget

Hello everybody,

As i'm using EmonCMS for my school project I adapted the JGauge widget from 

http://www.dariancabot.com/projects/jgauge_wip/     into EmonCMS. (the black one)

It's still in beta and it will be great if someone can test it.

The only changes you need to do are on the .js files (you need you put the right path)

needle.src = 'http://localhost/emoncms/img/needle2.png';

img.src = 'http://localhost/emoncms/img/jgauge.png';

A screenshot is provided in the ZIP.

 

Enjoy !

TrystanLea's picture

Re: [beta] new gauge widget

nice! will take a look

alco's picture

Re: [beta] new gauge widget

Hi,

Module works great!!, really like the new more 3D look of this thing. installation is easy but the image path redirection has to be fixed for deployment into the mainstream emoncms.

I think that a redirection to the /emoncms/Modules/dashboard/Views/js/widgets/jgauge/ could do the trick.

needle.src = '/../../Modules/dashboard/Views/js/widgets/jgauge/needle2.png';
img.src = '/../../Modules/dashboard/Views/js/widgets/jgauge/jgauge.png';

 

Comment viewing options

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