Sorry I don't have Safari mobile to try your example on.

On Mon, Jun 25, 2012 at 4:00 PM, mpabramowitz <[email protected]>wrote:

> listed below is my javascript code for a google gauge chart I am using in
> my application. This works in Safari, Firefox, IE and Chrome, but not
> Safari Mobile. When running, I get an error stating "Result of expression
> 'c[G]' [null] is not an object". This is an asp.net page with visual
> basic as the server side code - the <%= donevalue %> is a value from the
> server side which is the value of the gauge - changing this to any number
> still throws the same error.
>
> note - The way I am viewing the site and getting this error is through
> http://code.google.com/p/ibbdemo2/ - an adobe air ipad simulator. I have
> been looking for other simulators for this browser to see if this error
> exists in others as well.
>
>
>
>
>     <script type='text/javascript' src='https://www.google.com/jsapi
> '></script>
>     <script type='text/javascript'>
>
>
>         var percent = <%= donevalue  %>;
>         google.load('visualization', '1', { packages: ['gauge'] });
>         google.setOnLoadCallback(drawChart);
>         function drawChart() {
>             var data = google.visualization.arrayToDataTable([
>           ['Label', 'Value'],
>           ['%complete', percent]
>         ]);
>
>             var options = {
>                 width: 120, height: 100
>             };
>
>             var chart = new
> google.visualization.Gauge(document.getElementById('chart_div'));
>             chart.draw(data, options);
>         }
>     </script>
>
> Thanks for your help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/8P2I23ntzyUJ.
> 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.
>

-- 
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