Corrected version:

var chart1 = new 
asgallant.LineChartAsAnnotatedTimeline(document.getElementById('chart_div1'));
var runOnce = 
google.visualization.events.addListener(chart1.getChartWrapper(), 'ready', 
function () {
google.visualization.events.removeListener(runOnce);
var viewSpec = chart1.getChartWrapper().getView();
viewSpec.columns[0] = {
type: 'string',
label: data.getColumnLabel(0),
calc: function (dt, row) {
return dt.getFormattedValue(row, 0);
}
};
chart1.getChartWrapper().setView(viewSpec);
});
chart1.draw(...)

On Thursday, February 14, 2013 6:55:45 PM UTC-5, [email protected] wrote:
>
> Doesn't work  >:-( 
>
> I look after it tomorrow ^^ 
>
> Thanks a lot ! 
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to