I am trying to do a Gnatt Chart in SharePoint using Google Chart.
There is a chart type call "Timeline". I copy and paste the script and it works well in firefox. However in IE8, the chart did not render. It throws the error below. Please advise! *Script* <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><script type="text/javascript" src="https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization','version':'1','packages':['timeline']}]}"></script><script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script><script type="text/javascript"> google.setOnLoadCallback(drawChart); function drawChart() { var container = document.getElementById('example1'); var chart = new google.visualization.Timeline(container); var dataTable = new google.visualization.DataTable(); dataTable.addColumn({ type: 'string', id: 'President' }); dataTable.addColumn({ type: 'date', id: 'Start' }); dataTable.addColumn({ type: 'date', id: 'End' }); dataTable.addRows([ [ 'Washington', new Date(1789, 3, 29), new Date(1797, 2, 3) ], [ 'Adams', new Date(1797, 2, 3), new Date(1801, 2, 3) ], [ 'Jefferson', new Date(1801, 2, 3), new Date(1809, 2, 3) ]]); chart.draw(dataTable);}</script><div id="example1" style="width: 900px; height: 180px;"></div></head></html> Link to Script <https://google-developers.appspot.com/chart/interactive/docs/gallery/timeline> I've posted similar question in stackoverflow <http://stackoverflow.com/questions/18632366/google-chart-timeline-gantt-chart-does-not-work-with-ie8>. -- 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.
