setValue

sets a value for the gage

void setValue(number new_value);
new_valuenumbera new value for the gage

Example

// setting a value
$$("gage1").setValue(20); 
 
// getting the value
$$("gage1").getValue(); // ->20

Related samples

See also
  • API
  • Articles
  • Back to top
    If you have not checked yet, be sure to visit site of our main product Webix web development library and page of JavaScript Gauge product.