Hi,
I found an issue when working with the annotatedtimeline-chart and I'm
not sure whether this is a bug or some kind of feature, perhaps you
can help me out?

When I have a datatable with a number of columns and the last column
has no data for any row, the x-axis of the graph will get screwed-up
(no ticks anymore).

Reproducable by pasting the following code in the playground

function drawVisualization() {
  var data = new google.visualization.DataTable();
  data.addColumn('date', 'Date');
  data.addColumn('number', 'Sold Pencils');
  data.addColumn('number', 'Sold Pens');
  data.addColumn('number', 'Sold Things');

  data.addRows([
    [new Date(2011,5,5), 7, 12, undefined],
    [new Date(2011,5,7), 9, 10, undefined],
    [new Date(2011,5,15), 6, undefined, undefined],
    [new Date(2011,5,28), 7, 8, 7]]);


  var annotatedtimeline = new google.visualization.AnnotatedTimeLine(
      document.getElementById('visualization'));
  annotatedtimeline.draw(data, {'displayAnnotations': true});
}


http://code.google.com/apis/ajax/playground/?type=visualization#annotated_time_line

Best regards,
Erik

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en.

Reply via email to