Colors are assigned by series, so in your case you could have one color for 
"Individual Activities" and one for "BVB Dortmund" - is that what you are 
looking for?

If so, you are on the right track, but need to fix your data.setValue 
statements.  The syntax is data.setValue(<row>, <column>, <value>), so your 
code should look like:

data.setValue(0, 0, "2011");
data.setValue(0, 1, 20.45);
data.setValue(0, 2, 34);

since you assigned column 0 to "year".

If you are looking for a different effect (like columns labeled "Individual 
Activities" and "BVB Dortmund" with different colors), the code is more 
complex.  I have addressed this multiple times, you can look 
here<https://groups.google.com/d/msg/google-visualization-api/rSPRsxHqu2E/8TbXh_V54lYJ>and
 
here<https://groups.google.com/d/msg/google-visualization-api/fuJRPxDHUk0/Tr1sbWZ7a8EJ>as
 a start; if you need more help, feel free to ask.

-- 
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/-/G3ZKaA3YwVgJ.
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.

Reply via email to