added constant for type bar chart