Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Google Chart Legend Order
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
WiltonJr  
View profile  
 More options Aug 3 2012, 5:02 pm
From: WiltonJr <webnewsyste...@gmail.com>
Date: Fri, 3 Aug 2012 14:02:11 -0700 (PDT)
Local: Fri, Aug 3 2012 5:02 pm
Subject: Google Chart Legend Order

Hi everybody.

Is there a way to order the legend of a chart in the actual chart api
version?

Thanks in advance.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
asgallant  
View profile  
 More options Aug 3 2012, 10:53 pm
From: asgallant <drew_gall...@abtassoc.com>
Date: Fri, 3 Aug 2012 19:53:38 -0700 (PDT)
Local: Fri, Aug 3 2012 10:53 pm
Subject: Re: Google Chart Legend Order

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*/});


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »