I am not sure what your use case is, but if you want to format all date cols to the same pattern (for example), you may just iterate over all of the cols in the table, test the type and use simple switch style code to set formatters to all of the relevant ones.
Regards, VizGuy On Sun, Oct 25, 2009 at 9:03 PM, jago <[email protected]> wrote: > > I know that I can format single columns using something like: > > var dateFormater = new google.visualization.DateFormat({pattern: 'dd/ > MM/yyyy'}); > dateFormater.format(dataTable, 0); > > > However, I cannot predict which column has what type, so I would > rather like to provide a global format for a specific column type. > > Is this possible? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
