Django Bokeh Stacked Bar Chart
I have the following queryset:
<QuerySet [
{'Order_Type': 'Phone', 'Order_Priority': 'NA', 'Order_total': 2},
{'Order_Type': 'Web', 'Order_Priority': 'High', 'Order_total': 3},
{'Order_Type': 'Web', 'Order_Priority': 'Med', 'Order_total': 9}]>
I want to create a stacked bar chart using Bokeh that shows the total number of orders for each order type; each bar will also show the breakdown order priority (see image).
I'm getting an error because the axis categorical factors (Order Type in this case) is not unique. can someone help me with this?