Do you mean the order of the legend entries? That is determined by the
order of the columns in the DataTable or DataView (whichever is used to
draw the chart). You can use a DataView to reorder the columns:
var view = new google.visualization.DataView(dataTable);
// set the columns used in the view
view.setColumns([0, 2, 5, 3, 1, 4]);
chart.draw(view, {/*options*/});
On Friday, August 3, 2012 5:02:11 PM UTC-4, WiltonJr wrote:
>
> Hi everybody.
>
> Is there a way to order the legend of a chart in the actual chart api
> version?
>
> Thanks in advance.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/yuFEoxISGP0J.
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.