Hi I guess splitting will increase the complexity so I tried with type casting date from string values and I got the result. I guess a cleaner way . Please let me know other methods to do this more efficiently .
On Thu, Apr 15, 2010 at 6:38 PM, Bug Chart <[email protected]> wrote: > Hi, > > you should give the setValue() a real JavaScript Date Object. > like in this example here: > > http://code.google.com/apis/ajax/playground/?type=visualization#annotated_time_line > > so, in your XML case, you can get the "04/02/2010" string, > split it to day,month,year, and then pass those values to a > "new Date(year, month, day).." > > HTH, > > BugChart. > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > -- Yours sincerely Divya Prakash :) -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
