Hi,
I've implemented a stacked chart like this:
google.load('visualization', '1', {packages: ['corechart', 'line']});
google.setOnLoadCallback(drawBackgroundColor);
function drawBackgroundColor() {
var data = new google.visualization.DataTable();
data.addColumn('date', 'Date');
data.addColumn('number', 'A');
data.addColumn('number', 'B');
data.addColumn('number', 'C');
// etc.
data.addRows([
[new Date(2010, 1, 1),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[new Date(2010, 2, 1),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[new Date(2010, 3, 1),0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
// etc
However, the columns are in reversed order in the legend.
It shows "C, B, A" from top to bottom.
Can I somehow reverse the order of the legend?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/d0c6ba0b-bb53-47b1-92c5-58a6ddc378f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.