create typeclasses for auxilliary functions for Plot, BarChart, BarChartGrouped