AJAX based, simply useable Timeline

11. März 2009 – 22:34

Google Code offers some interesting new toys. One of them is the annotated timeline, which is build in 2 minutes. Most interesting feature is having a zoomable time-frame, where your data can be bounded.

bild-69

For embedding the timeline only these simple few lines are required:

function drawVisualization() {
   new google.visualization.Query(
     'http://spreadsheets.google.com/tq?key=pCQbetd-CptH5QNY89vLtAg&pub=1').send(
      function(response) {
        new google.visualization.AnnotatedTimeLine(
            document.getElementById('visualization')).
            draw(response.getDataTable(), {'displayAnnotations': true});
      });
}

Ähnliche Artikel

Tags: , , ,

Post a Comment