More work on bar charts

-Remove useless methods and excess code
-Update JavaDoc and comments