add category to chart