Migrated helper functions to ChartObject class.
Remove histogram-related old code from _charts.py.
Migration of bar, scatter and boxplot-related code from _charts.py to each specific chart_type file.