Hi, Previously, I was using a regular ColumnChart (not embedded in a dashboard) with dates as the domain and I was able to use the hAxis.format attribute to change the format for displaying dates. I have since upgraded to a dashboard because I want to use a ChartRangeFilter control like the one in the example ( https://code.google.com/apis/ajax/playground/?type=visualization#chartrangefilter_control ). However, as in the example, I'm converting the first column from 'date' to 'string' (if I keep it as a date column, the horizontal axis boundaries chop off the first and last columns on the first and last dates), so changing the hAxis.format attribute no longer has any effect. Rather than showing up like "03/15", the dates show up like "Mar 15, 2012" which is not ideal. I'm not familiar with the getFormattedValue() function that gets called in this code: { 'calc': function(dataTable, rowIndex) { return dataTable.getFormattedValue(rowIndex, 0); }, 'type': 'string' } but is there a way I can pass in the format string in that call, or do something else to get the dates on the horizontal axis to be formatted as MM/dd?
Thanks in advance for any help you can provide. -- 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/-/z82CtF7o-n4J. 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.
