Hi, I'm getting date values that look like '20130903' from the data table (powered by SuperProxy), so when I hover over my columns I see these unfamiliar and unattractive date values.
Can I change the format of the date in my page code? Here is my code: <html> > <head> > <title>GA Chart - Column</title> > > <!--Load the AJAX API--> > <script type="text/javascript" > > src='https://www.google.com/jsapi?autoload={"modules":[{"name":"visualization","version":"1"}]}'> > </script> > > <!-- Visualization --> > <!-- > https://developers.google.com/chart/interactive/docs/reference#google.visualization.drawchart > > --> > <script type="text/javascript"> > google.setOnLoadCallback(drawVisualization); > > function drawVisualization () { > var query = new google.visualization.Query(' > https://my.appspot.com/url'); > // use the #setQuery method if you want to write a select statement > query.send(function (response) { > var data = response.getDataTable(); > > // change column labels > data.setColumnLabel(0, 'Date'); > data.setColumnLabel(1, 'Pageviews') > > var VDPViewsWrapper = new google.visualization.ChartWrapper({ > // Example Country Share Query > containerId: "pageviews", > dataTable: data, > chartType: "ColumnChart", > options: { > title: 'Pageviews', > showRowNumber: 'false', > width: '425', > height: '300', > legend: 'none', > hAxis: {textPosition:'none'}, > titleTextStyle: {fontSize: 18, bold: 'false'} > } > }); > > VDPViewsWrapper.draw(); > }); > > } > </script> > </head> > <body> > <div id="pageviews" style="margin:auto;width:630px;"></div> > </body> > </html> > Thank You -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
