Converted bar chart directive to stacked bar