Hello everyone,
I have a funny question. :)
Is it possible to use different options for different Gauges in on Draw 
cycle?

If you look here:
https://portals.exosite.com/views/3504609913/1323713614
there are 8 Gauges in 8 containers.
The problem is (well, it is not a problem, it is a security measure) each 
one Custom Widget asks to "Execute the Javascript", which is pretty 
annoying.
So, the only way how to make it not so annoying is to group together more 
Gauges (into one container).
And I am thinking of using more *Draw options* in one container.

*Here is a little piece of the code:*
var i;
var output = [];
for( i = 0; i < resources.length; i++ ) {
    output = [];
    output[i][0] = String('Index: ' + i);
    output[i][1] = i;
}
var chart = new google.visualization.Gauge( container );
var data = new google.visualization.DataTable();
var options = { min: 0, max: 100, ..some options setting.. };
data.addColumn('string', 'Label');
data.addColumn('number', 'Value');
data.addRows( output );
chart.draw( data, options );

There are attached some *.js files.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to