adding category option for xaxis