fixed chart display when empty