802 - Horizontal mode on stackedBarPlots

Horizontal mode enabled on a stackedBarPlot by adding a false argument to the constructor call, stating that the stackedBarPlot is not vertical.

Changed all 'y' references to instead be 'primary' references where the 'primary' attribute is determined if the plot is vertical or not.

Incremental pr for #802