Have a question about whether we can have mutiple line in the 'Element':
https://developers.google.com/chart/interactive/docs/gallery/columnchart#coloring-columns
ex: 

       var data = google.visualization.arrayToDataTable([
         ['Element', 'Density', *{ role: 'style' }*],
         ['Copper', 8.94, *'#b87333'*],            // RGB value
         ['Silver', 10.49, *'silver'*],            // English color name
         ['Gold', 19.30, *'gold'*],

       ['Platinum', 21.45, *'color: #e5e4e2'* ], // CSS-style declaration
      ]);

we push 'Copper', 'Silver', 'Gold', 'Platinum' in the row label. Is there any 
way to push a object or json, etc to the label?

(such as push ['Copper', 8.94, '15%'] into 'Element')

ie: want to have row display:


After:

Copper   Silver   Gold   Platinum

 8.94     10.49    19.3    21.45

  15%      20%      30%     35%      


Before:
Copper   Silver   Gold   Platinum


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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/d7c4425b-3d5d-4bc3-9fbd-841720867fab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to