hi,
consider the following timeline:

<html>
  <head>
    <script type='text/javascript' src='http://www.google.com/jsapi'></script>
    <script type='text/javascript'>
      google.load('visualization', '1', {'packages':['annotatedtimeline']});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data=new google.visualization.DataTable();
        data.addColumn('date', 'Date');
        data.addColumn('number', 'data1, s:');
        data.addColumn('number', 'data2, cm:');
        data.addRows(3);
        data.setValue(0, 0, new Date(2008,11,20));
        data.setValue(0, 1, 7.0);
        data.setValue(0, 2, 0.3);
        data.setValue(1, 0, new Date(2008,11,21));
        data.setValue(1, 1, 4.0);
        data.setValue(1, 2, 0.6);
        data.setValue(2, 0, new Date(2008,11,22));
        data.setValue(2, 1, 6.0);
        data.setValue(2, 2, 0.2);
        var chart = new
google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
        chart.draw(data,
{displayExactValues:true,scaleType:"allfixed",scaleColumns:[0,1]});
      }
    </script>
  </head>
  <body>
    <div id='chart_div' style='width:500px;height:300px;'></div>
  </body>
</html>


i'm having the following problems/questions with regard to it:
* commas in column names become hyphens (?)
* scale values for the second series, which are less than 1, are
rounded to nearest integer. this results in 0's (and false 1) on the
right hand side (?)
* where is the zoom range preview in the lower part of the image
coming from? is it always generated based on the data of the last
series?

cheers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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
-~----------~----~----~----~------~----~------~--~---

<<inline: timeline1.png>>

Reply via email to