Custom Chart (Stacked Column 3d)

Hi, my query returns a 7 row and 3 column table (column a,b and c).
I would like to display these values in a column chart. How can I dynamically retrieve these values by assigning column a as categories and column b as absices and column c as orders ???