set chart type css class before loading filters