The example demonstrates how to emded custom code in the gauge web part.
In this example custom code is used to programmatically add custom value and range labels to the gauge axis scale.

 Custom Value and Range Labels Radial Gauge