Is this possible with stacked bar Chart? If yes, How?

I want to create a graph for certain sales people (say A, B, C) who sell certain products (say X,Y,Z,W) for a week. The condition is that one salesperson can sell only one product from the four on a day ie if say A chooses to sell X then for the full day he has to sell only X.

Now I need to plot a graph for this which shows which salesmen sold which product on which day somthing like:

I would like to use the dhtmlx Stacked Bar Chart. The problem I am facing is how to do it?

Please see the demo with horizontal stacked charts:
dhtmlxChart/samples/06_bar_chart/08_horizonal_stacked_bars.html

Hi Alexandra,

Thanks for your quick response. I had seen that example but the problem is there for all series the sequence of items is same ie all will sales, sales1, sales2, … in the same order. In my case the product is randon and could repeat like ProdA, ProdC, ProdA etc …
How do I solve that?

Also one additional query. Can we make the Salesmen a Tree kind of a structure; where he could have Assistant A, Assistant B who too sell the same products, but will be visible on the graph only when someone clicks ‘+’ next to the salesman and collapse on clicking ‘-’

Let me know.

Thanks

Hi,

it seems that Gantt would be more appropriate to this task:

dhtmlx.com/docs/products/dhtmlxGantt/index.shtml