I'm having some trouble with getRowProperties.  I have:

function drawVisualization() {
  var dataTable = new google.visualization.DataTable();
  dataTable.addColumn('string', 'Name');
  dataTable.addColumn('number', 'Age');
  dataTable.addColumn('string', 'Instrument');
  dataTable.addColumn('string', 'Color');
  dataTable.addRows(1);
  dataTable.setCell(0, 0, 'John');
  dataTable.setCell(0, 1, 24);
  dataTable.setCell(0, 2, 'Guitar');
  dataTable.setCell(0, 3, 'Blue');

  alert(dataTable.getRowProperties(0)['Name']);
}

I'm expecting to see the string "John".  Instead, I get "undefined".

What is the return of getRowProperties?  The doc indicates that it's a
map, which I assumed is also an Object, but it doesn't seem to be one
from my tests.

Can someone show me how to use getRowProperties?

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