Try using the #getFormattedValue method for your dates instead of the #getValue method:
dt.getFormattedValue(row, 3); You can use a DateFormatter<https://developers.google.com/chart/interactive/docs/reference#dateformatter>to format your dates however you want. On Monday, March 24, 2014 2:06:56 PM UTC-4, Missy wrote: > > This is excellent help. I really appreciate your time and help for this. > > I have one small issue, which is the label is unable to read the date in > the correct format. I have setup the javascript code for it, but I still > unable to view it in the label tooltip. > > var date = new Date(parseInt(dataValues[i].Date.substr(6), 10)); > > I have attached image of the output and issue for further reference. Do i > need to add some date control in the charts wrapper for this functionality > to work. > > > > <https://lh3.googleusercontent.com/--rcE29m4Zds/UzBbNTo1B6I/AAAAAAAAAPg/kEHB2xGgUKU/s1600/date_format_24Mar2014.png> > Many thanks for your help and time. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
