GaugeScale.Rotate

Syntax

Rotate: Number;

Description

The Rotate property determines scale rotation angle.

Example

To execute the example, the page must contain the Speedometer component named speed1 (see Example of Creating a Fuel Gauge Unit). Add to the page a button clicking which rotates the scale:

<input TYPE="button" VALUE="Rotate" ONCLICK="Rotate()">
<script>
function Rotate()
{
	speed1.getScales(1).setRotate(10);
} 
</script>

After clicking the Rotate button, speedometer scale is rotated ten degrees clockwise.

See also:

GaugeScale