[StackedPlot] - Covers 0-length dataArray case

Immediately return from stacking if dataArray length is 0

Closes #1167