I'm assuming you're okay creating separate visualizations based on separate
data sources. In which case, you can just set up each one and have them
reference independent div elements:
var chart1 = new
google.visualization.Gauge(document.getElementById('visualization1'))
var chart2 = new
google.visualization.Gauge(document.getElementById('visualization2'))
var chart3 = new
google.visualization.Gauge(document.getElementById('visualization3'))
Where each of the above has it's own chart#.draw() call with the scale and
appearance needed.
chart1.draw(data,{max: 18000,greenFrom: 12000,greenTo: 18000,yellowFrom:
8000,yellowTo: 12000,redFrom: 0,redTo: 8000,});
chart2.draw(data,{max: 18000,greenFrom: 12000,greenTo: 18000,yellowFrom:
8000,yellowTo: 12000,redFrom: 0,redTo: 8000,});
chart3.draw(data,{max: 18000,greenFrom: 12000,greenTo: 18000,yellowFrom:
8000,yellowTo: 12000,redFrom: 0,redTo: 8000,});
On Friday, June 26, 2015 at 8:57:58 AM UTC-6, Nilmar Castro wrote:
>
> Hi all,
>
> I need to have many gauges in the same view with different apearance and
> scales.
>
> Does anybody knows how do I do that ?
>
> Any example will be wellcome.
>
> Tks,
>
>
--
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.