Yes, it looks like we could ignore the last column in this case.

BTW: why do you need that column? Are you familiar with our
Views<http://code.google.com/apis/chart/interactive/docs/reference.html#DataView>?
You can use them to strip away columns (and a lot more)

On Mon, May 23, 2011 at 2:53 PM, Erik van de Burgwal <
[email protected]> wrote:

> 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, undefined]]);
>
>   var annotatedtimeline = new google.visualization.AnnotatedTimeLine(
>       document.getElementById('visualization'));
>   annotatedtimeline.draw(data, {'displayAnnotations': true});
>
> }
>
> http://code.google.com/apis/ajax/playground/?type=visualization#annot...<http://www.google.com/url?sa=D&q=http://code.google.com/apis/ajax/playground/%3Ftype%3Dvisualization%23annotated_time_line>
>
>
> Best regards,
> Erik
>
> --
> 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.
>

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

Reply via email to