Fixed empty datasets so stacked barchart drawing does not fall over