I'm not able to display dates on the x-axis. I want to display them in some format like: 12-12-2009. But, what exactly is happening is that the same date is getting shown like 1,260,500,000,000. This is basically the getTime() value of this date i.e. getTime() returns the number of milliSeconds passed since 1970 to specified date.