[visualization-api] Re: Timeline charts. Start end End dates
It's strange...as I understand tooltips should has possibility to show at least days...otherwise this chart is really useless... On Wednesday, May 28, 2014 9:05:51 PM UTC+4, Andrew Gallant wrote: No, you cannot customize the tooltips like that yet. On Wednesday, May 28, 2014 9:08:29 AM UTC-4, Dmitry Mzokov wrote: Hi! Is it possible to show exact value of date start and date end (with days, hours and minutes) for all tasks? I have tasks with different duration time (from 1 hour to several months) and start\end interval is shown like this: Jan - Apr, but I need something like this: 23 Jan 15:44 - 13 Apr 12:22 Here is my script: script type=text/javascript src=https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization', 'version':'1','packages':['timeline']}]}/scriptlink href=https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/ui+ru.css; type=text/css rel=stylesheetscript src=https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/dygraph,format+ru,default+ru,ui+ru,timeline+ru.I.js; type=text/javascript/scriptscript type=text/javascriptgoogle.setOnLoadCallback(drawChart);function drawChart() { var container = document.getElementById('example1'); var chart = new google.visualization.Timeline(container); var dataTable = new google.visualization.DataTable(); dataTable.addColumn({ type: 'string', id: 'Term' }); dataTable.addColumn({ type: 'string', id: 'Name' }); dataTable.addColumn({ type: 'date', id: 'Start' }); dataTable.addColumn({ type: 'date', id: 'End' }); dataTable.addRows([[ '1','task1', new Date(139883922), new Date(140142960) ],[ '2','task2', new Date(139410672),new Date(1394106720001)]]); var options = { timeline: { showRowLabels: false }}; chart.draw(dataTable, options);}/scriptdiv id=example1 style=width: 900px; height: 500px; position: relative; -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Re: Timeline charts. Start end End dates
The dev team is aware of issues with the tooltip date and duration formatting; I expect that they will release a fix for this, but I have no idea when that will be. On Thursday, May 29, 2014 3:43:07 AM UTC-4, Dmitry Mzokov wrote: It's strange...as I understand tooltips should has possibility to show at least days...otherwise this chart is really useless... On Wednesday, May 28, 2014 9:05:51 PM UTC+4, Andrew Gallant wrote: No, you cannot customize the tooltips like that yet. On Wednesday, May 28, 2014 9:08:29 AM UTC-4, Dmitry Mzokov wrote: Hi! Is it possible to show exact value of date start and date end (with days, hours and minutes) for all tasks? I have tasks with different duration time (from 1 hour to several months) and start\end interval is shown like this: Jan - Apr, but I need something like this: 23 Jan 15:44 - 13 Apr 12:22 Here is my script: script type=text/javascript src=https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization', 'version':'1','packages':['timeline']}]}/scriptlink href=https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/ui+ru.css; type=text/css rel=stylesheetscript src=https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/dygraph,format+ru,default+ru,ui+ru,timeline+ru.I.js; type=text/javascript/scriptscript type=text/javascriptgoogle.setOnLoadCallback(drawChart);function drawChart() { var container = document.getElementById('example1'); var chart = new google.visualization.Timeline(container); var dataTable = new google.visualization.DataTable(); dataTable.addColumn({ type: 'string', id: 'Term' }); dataTable.addColumn({ type: 'string', id: 'Name' }); dataTable.addColumn({ type: 'date', id: 'Start' }); dataTable.addColumn({ type: 'date', id: 'End' }); dataTable.addRows([[ '1','task1', new Date(139883922), new Date(140142960) ],[ '2','task2', new Date(139410672),new Date(1394106720001)]]); var options = { timeline: { showRowLabels: false }}; chart.draw(dataTable, options);}/scriptdiv id=example1 style=width: 900px; height: 500px; position: relative; -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Re: Timeline charts. Start end End dates
No, you cannot customize the tooltips like that yet. On Wednesday, May 28, 2014 9:08:29 AM UTC-4, Dmitry Mzokov wrote: Hi! Is it possible to show exact value of date start and date end (with days, hours and minutes) for all tasks? I have tasks with different duration time (from 1 hour to several months) and start\end interval is shown like this: Jan - Apr, but I need something like this: 23 Jan 15:44 - 13 Apr 12:22 Here is my script: script type=text/javascript src=https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization', 'version':'1','packages':['timeline']}]}/scriptlink href=https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/ui+ru.css; type=text/css rel=stylesheetscript src=https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/dygraph,format+ru,default+ru,ui+ru,timeline+ru.I.js; type=text/javascript/scriptscript type=text/javascriptgoogle.setOnLoadCallback(drawChart);function drawChart() { var container = document.getElementById('example1'); var chart = new google.visualization.Timeline(container); var dataTable = new google.visualization.DataTable(); dataTable.addColumn({ type: 'string', id: 'Term' }); dataTable.addColumn({ type: 'string', id: 'Name' }); dataTable.addColumn({ type: 'date', id: 'Start' }); dataTable.addColumn({ type: 'date', id: 'End' }); dataTable.addRows([[ '1','task1', new Date(139883922), new Date(140142960) ],[ '2','task2', new Date(139410672),new Date(1394106720001)]]); var options = { timeline: { showRowLabels: false }}; chart.draw(dataTable, options);}/scriptdiv id=example1 style=width: 900px; height: 500px; position: relative; -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.