I have many gauges declared as follows:
var g1 = new RadialGauge({
renderTo: 'gauge1',
width: 300,
height: 300,
units: 'Grados',
title: "Temp_d9",
valueBox: true,
animationRule: 'bounce',
animationDuration: 500
}).draw();
The names are g1..g2..g3..g10..
If I want to change the value of the gauge I do this:
g1.value = 10;
What I want to do , is change the value of all my gauges inside a for loop.. what I tried, and of course didnt work:
for(var i = 1; i <= 10 ; i ++){
var name = "t" + i;
name.value = lst_val;
}
How can I achieve this? it's possible? thanks