Click on the following links to find out how to create gauges using code:
Creating a Digital Gauge Using Code
Creating a Linear Gauge Using Code
Creating a Radial Gauge Using Code