Speedometer with Animation

Speedometer with Animation

 
The speedometer gauge is popular chart type for dashboards, as it is well suited to display performance.

In this example you’ll learn how to generate this chart, and subsequently, animate the needle (indicator).

The animation is achieved by creating and updating the value of the indicator. The value is calculated using Math.round(), then feature point.update() updates the indicator’s value.

Learn more about point.update.