Hi,

Ever wished you could access a column by its id instead of only by its
column index?  For example:

var dt = new google.visualization.DataTable();
  dt.addColumn('string', 'Name','name');
  dt.addColumn('number', 'Size','size');
  dt.addColumn('string', 'Color','size');

To access the color column, you need to use:

  dt.getValue(1,2);

It would be really convenient (and more scalable across complex
projects) to use:

  dt.getValue(1,'color');

If you like this idea, vote for enhancement 636:
http://code.google.com/p/google-visualization-api-issues/issues/detail?id=636

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