No, it's not a bug.  The ATL charts don't have an hAxis option at all, so 
nothing you put there could be expected to work.  The ATL charts are old, 
antiquated, Flash-based charts with limited customization options.  I 
strongly recommend updating them to LineCharts controlled by a 
ChartRangeFilter.  You can get 95% of the functionality of an ATL chart out 
of the box and have a great deal more flexibility and customization 
available, without any of the drawbacks of Flash.

On Thursday, January 3, 2013 2:44:54 PM UTC-5, Stefan Ferber wrote:
>
> The date and dateTime formating in the right top corner you can easily 
> control with one option:
>
>         vizOptions = {
>                   dateFormat: 'dd.MM.yy hh:mm'
>                 };
>         vizChart = new 
> google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
>         vizChart.draw(vizTable, vizOptions);
>       }
>
> I tried several ways to change the dateTime format on the x-axis but was *
> not* successful:
>         vizOptions = {
>                   dateFormat: 'dd.MM.yy hh:mm',
>                   hAxis: {format: 'Y,M,d,H'}
>                 };
>         var formatter = new google.visualization.DateFormat({formatType: 
> 'short'});
>         formatter.format(vizTable, 0);
>         vizChart = new 
> google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
>         vizChart.draw(vizTable, vizOptions);
>       }
>
> It is simply ignored by the Google API. Is this bug already in the 
> official bug reporting?
>
>

-- 
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/-/STLj3q2XG6QJ.
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