Can you post your whole code (including the HTML) or a link to the page?

On Monday, February 25, 2013 9:46:54 AM UTC-5, skirwin wrote:
>
> I am having the same issue and tried to use the above code and it didn't 
> work. Attached is my code....
>
>
>  var options = 
>   {
>   title: 'Simple <? echo $data_gran ?> MEM Chart for <? echo $server_name 
> ?>',
>   curveType: "function",
>   width: 700, height: 400,
>   vAxis: {title:'MEM Util %', maxValue: 100, minValue: 0}
>   };
>   
> // Create and draw the visualization.
>  document.getElementById('chart002').style.display = 'block'; 
>                                                         var chart = new 
> google.visualization.LineChart(document.getElementById('chart002'));
> draw(data, options);
>    }
>   
>   google.setOnLoadCallback(drawVisualization);
> </script>
>
> On Thursday, February 9, 2012 2:07:56 PM UTC-5, David82 wrote:
>>
>> YES !  you are correct.  I had to issue the following 
>>     document.getElementById('chart_div').style.display = 'block';
>> before I call the 
>>     var chart = new 
>> google.visualization.LineChart(document.getElementById('chart_div'));
>>      ...
>>     chart.draw( data, CharOptions );
>>
>> Thanks You Again.
>> David Marcillo 
>>
>>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to