Team ,
Am using Timeline charts. I have to use columns of type (string,date,date)
in my data table.. I understand the argument need to be of type Java script
Date type.
Am fetching values from data base and storing in a data structure
arraylist.
Then I iterate the arraylist and take needed values and pass
into data.addRow function.
But am not getting the needed result,
loop :
task ='<%=myData.get(loopcount).toString()%>';
start=new
Date(<%=myData.get(loopcount+1).toString()%>);
end = new Date(<%=
myData.get(loopcount+2).toString()%>);
data.addRow([task,start,end]);
end loop.
Arraylist contents
[20-01-2018,10-01-2018, 20-02-2018, TASk2, 11-02-2018, 21-03-2018, TASK3,
15-03-2018, 19-04-2018]
--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/837a058a-b7c5-4729-90ec-3366b0e0764f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.