If all you want is to use the php variable to draw the chart on page load, 
your code should look something like this:

function drawGauge() {
     var data = new google.visualization.DataTable();
     data.addColumn("string", "foo");
     data.addColumn("number", "bar");
     data.addRow();
     data.setValue(0, 0,"foobar");
     data.setValue(0, 1,<?php echo $Curr; ?>);
     var gauge = new 
google.visualization.Gauge(document.getElementById("gauge_div"));
     gauge.draw(data, {<options>});
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to