If, perchance, that doesn't work, you should be able to set the role manually after the data is fetched, using the DataTable's #setColumnProperty method.
On Monday, September 3, 2012 8:41:16 PM UTC-4, asgallant wrote: > > I believe the Python library predates column roles, so there probably > isn't any explicit support for them, but if I recall correctly, you can > specify a column's role in the custom properties of the column, so I would > hazard a guess that you set it in the custom_properties part of the column > description in the table schema set up. > > On Monday, September 3, 2012 7:33:32 AM UTC-4, Tony Hirst wrote: >> >> Any ideas how I use the Python gviz_api_lib ( >> https://developers.google.com/chart/interactive/docs/dev/gviz_api_lib ) >> to create a datatable that contains custom values for role attributes as >> used to provide custom tooltips in a scatterplot ( >> https://developers.google.com/chart/interactive/docs/roles?hl=de-DE#tooltiprole >> ) >> >> tony >> > -- 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/-/Qm9GGDBUfdsJ. 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.
