Custom Gauges

Posted by Rollbase User on 02-Jul-2012 14:55

Is there a way to use/upload a custom gauge image instead of the default gauges?

All Replies

Posted by Admin on 02-Jul-2012 15:11

Gauge is Flash component, not an image. You can use custom gauge through HTML template (possibly using Hosted file).

Posted by Admin on 09-Jul-2012 09:14

Hi John,



One of the simplest options would be to use an existing open source or third party JavaScript based gauge component and embed the code in a Template field (or a Script component in one of your Pages) to render the gauge.



For example, here is a jQuery based gauge component that lets you define custom color bands:

http://code.google.com/p/jsgauge/



A simple example is here:

http://jsgauge.googlecode.com/svn/trunk/src/example/jquery-example.html

...and source code for that example:

view-source:http://jsgauge.googlecode.com/svn/trunk/src/example/jquery-example.html



Hope this helps,

Matt

This thread is closed