Here's my latest version of the script - it just doesn't get any better - 
it still doesn't do anything at all :(

<script type = ”text / javascript”src = ”https: 
//www.google.com/isapi?autoload={‘modules’:[{‘name’:’visualisation’,
        ‘version’:’1’,’packages’:[‘timeline’]}]}” ></script>
<script type=”text/javascript”>

Google.setOnLoadCallback(drawchart);

function drawChart() {
    // Set Data Source
    var query = new 
google.visualization.Query(‘https://docs.google.com/spreadsheet/ccc?key=0Aq4kEViSS7iEdGk1QjdIYmFxSlBDbzg4aHFJM0pzM3c&usp=sharing#gid=0’);

    // Set Query for Data Source
    query.setQuery(‘SELECT B, C, D, E‘);
    // Send the query with callback function
    query.send(handleQueryResponse);
    }
    // Handle Query errors
        function handleQueryResponse(response) {
            if (response.isError()) {
                alert('Error in query: ' + response.getMessage() + ' ' + 
response.getDetailedMessage());
                return;
            }

            // Draw Chart
            var data = response.getDataTable();
            var container = document.getElementById(‘schedule’);
            var chart = new google.visualization.Timeline(container));
    chart.draw(data);
}
</script>

<div id=”schedule” style=”width: 1000px; height: 200px;”></div>

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

Reply via email to