another check for empty chart data