I just figured out the problem. I needed to convert the array for the
second column from a string to a numeric array:

        var numrank = new Array (5);
        var i;
        for (i = 0; i < 5; i++)
        {
        numrank[i] = parseInt(rank[i]);
        }

Then i used 'numrank' in place of 'rank' in the above code. Everything
works now!

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