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']}]}"></script><link 
>> href="https://www.google.com/uds/api/visualization/1.0/ce05bcf99b897caacb56a7105ca4b6ed/ui+ru.css";
>>  type="text/css" rel="stylesheet"><script 
>> 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"></script><script 
>> type="text/javascript">google.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(1398839220000), new Date(1401429600000) ],[ '2','task2', new 
>> Date(1394106720000),new Date(1394106720001)]]);  var options = {      
>> timeline: { showRowLabels: false }    };  chart.draw(dataTable, 
>> options);}</script><div 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.

Reply via email to