Hi All,
Thanks to Rahul(rahulwalawalkar) my problem has been solved. Following is the solution to the problem above.
Here HPD_HelpDesk.TT_Created_On is a field in my database where the date on which the TT is created is stored.
dim thisdate2 as date
dim nextdate2 as date
dim output as string 'output is the text display
dim daysbetween2 as number
dim looptimes2 as number
looptimes2 = 0
daysbetween2 = 0
thisdate2 = Cdate({HPD_HelpDesk.TT_Created_On}) + 1
dim tmpDate as DateTime
tmpDate = nextvalue({HPD_HelpDesk.TT_Created_On})
nextdate2 = cDate(tmpDate)
if nextdate2 - thisdate2 > 0 then daysbetween2 = nextdate2 - thisdate2 else daysbetween2 = 1
do
output = output + monthname(month(thisdate2),true) + "/" + totext(day(thisdate2),0,"") + chr(10)
looptimes2 = looptimes2 + 1
thisdate2 = thisdate2 + 1
if thisdate2 in nextdate2 to {HPD_HelpDesk.TT_Created_On} then formula = output
loop until looptimes2 = daysbetween2
This correspondingly reflects in the graph as well ie. even for dates when there were no TTs created now they are also getting displayed albeit with value equal to 0.

Parul