Handling non numeric xAxis value for lineChart and stackedAreaChart