add class to chart-type label