It looks like the Table visualization is sorting columns by their formatted values rather than their actual values.
For instance, look at the first table on this page: http://code.google.com/apis/visualization/documentation/gallery/table.html Click on the "Salary" column once to sort the table in ascending order by salary. The salary column will now look like this: $7,000 $800 $10,000 $12,500 Note that $7,000 comes before $800. It appears that the sort was done by lexicographical order on the formatted value rather than by numerical order on the actual value. I would have expected it to instead have sorted like this: $800 $7,000 $10,000 $12,500 The actual values given in setCell() calls were 800, 7000, 10000, and 12500. Shouldn't the sort use these instead? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
