adds stacked xy bar chart factory method