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
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    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.