fixed hiding of chart when no rows exist