Thanks for the prompt response... One suggestion... In the sample, leave vAxis 
in with "" if you cannot think of something appropriate.

Sree
  ----- Original Message ----- 
  From: asgallant 
  To: [email protected] 
  Sent: Friday, July 08, 2011 9:11 AM
  Subject: Re: [visualization-api] Re: How do I annotate text on the vAxis


  You have two syntax errors in your code.  The vAxis option needs to open with 
the curly braces "{" instead of the parentheses "(", and the options need a 
closing curly braces, like this:


       new 
google.visualization.ColumnChart(document.getElementById('visualization')).draw(data,
 {

            title:"Yearly Coffee Consumption by Country",
            width:600,
            height:400,
            hAxis: {title: "Year"},
            vAxis: {title: "What"}
       });



  -- 
  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/-/2oQ_ClyUJr0J.
  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