* Only take bar series to calculate barWidth solves #6751 * Typo * Typo * Typo * Typo * Refactor * Simplify