Grouping/Categorizing labels in charts

13 views
Skip to first unread message

Tong Sun

unread,
Sep 4, 2015, 5:08:06 PM9/4/15
to Google Visualization API
Hi, 

Is it possible to group the labels in google charts into different categories?

See the following example, from Ms Excel Pivot Chart:




In above charts, above each label, there is another level, containing two groups, "Compact" & "MidSize". Can google charts do that as well? 

Working example appreciated, you can use the following table if you like. 

Sexfemalemale
PclassAge
class1(0, 18]0.9090910.800000
(18, 81]0.9729730.375000
class2(0, 18]1.0000000.600000
(18, 81]0.9000000.071429
class3(0, 18]0.5116280.215686
(18, 81]0.4237290.133663


Thanks



Reply all
Reply to author
Forward
0 new messages