The difficult part here is that the data isn't actually in a format that is conducive to a bar chart. Here is a fiddle <http://jsfiddle.net/s7qZS/>where I fixed your format to better match what the ColumnChart expects and did an example of controls.
Enjoy! - Sergey On Wed, Apr 3, 2013 at 2:55 PM, tim wong <[email protected]> wrote: > Need help. Can you show me how to draw a simple bar graph with 3 Cascading > dropdownlist > > its look like > https://code.google.com/apis/ajax/playground/#dependent_controls , but > the condition is has 4 Legends (Mark) > 1st ddl: Name > 2nd ddl: Code > 3rd ddl: Category > > x-axis: Mark1, Mark2, Mark3, Mark4 (4 Legend) > y-axix: Value of mark (%) > > ['Name','Code', 'Category', 'Mark 1', 'Mark 2', 'Mark 3', 'Mark 4'], > ['A', ,'111', 'type A', 40, 10, 99, 99], > ['A', ,'111', 'type B', 44, 13, 59, 69], > ['A', ,'112', 'type B', 50, 60, 79, 89], > ['A', ,'112', 'type A', 30, 30, 69, 79], > ['B', ,'113', 'type B', 90, 30, 99, 39], > ['B', ,'113', 'type A', 80, 90, 49, 49], > ['B', ,'114', 'type B', 40, 50, 98, 79], > ['B', ,'114', 'type A', 70, 80, 69, 49] > > -- > You received this message because you are subscribed to the Google Groups > "Google Chart API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-chart-api?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-chart-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
