Refactor out the _updateChart method to the superclass and fix a rendering bug that caused the bars to be displayed non centered