refactoring a bit of the style types, added support for fill style config for bar charts