JavaScript

SemiCircularNumberDisplay redraw Method

Syntax

numObj.redraw();

Description

Redraws the SemiCircularNumberDisplay control.

Discussion

The js.redraw() redraws the SemiCircularNumberDisplay control. If you change the control's minimum or maximum value, the .redraw() method must be called to update the display.

Example

//get a pointer to the control
var numObj = {dialog.object}.getControl('semicircularNumber_1');

if (numObj) {
    //set the min and max
    numObj.rgraphSettings.max = 200;
    numObj.rgraphSettings.min = 40;

    //redraw the control
    numObj.redraw();
}