historicalBar-historicalBarChart/refactoring