Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
64
rated 0 times [  69] [ 5]  / answers: 1 / hits: 61260  / 13 Years ago, tue, october 18, 2011, 12:00:00

Using google area chart: http://code.google.com/apis/chart/interactive/docs/gallery/areachart.html



Does anyone know how I can freelly manipulate the legends?



Pretty much I want one of two:




  • Be able to freelly set each legend element somewhere.

  • Set the legend that is displayed in one line to have multiple lines if the size of the legend exceeds the width of the legend area. (Prefered)



I would avoid hacks to manipulate the svg within the iframe btw.


More From » jquery

 Answers
57

There isn't a way to manipulate the legends as we wish.
In the question of the bounty:
You can use



in two of the charts



legend : 'none'


and also use colours to guarantee that all elements have the same colour.



colors:['red','#004411']


Other than that we can't manipulate them much more unfortunately :(


[#89561] Sunday, October 16, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sageallenv

Total Points: 458
Total Questions: 102
Total Answers: 104

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;