I am also new, just learning. I think you can add  datatype.. 'timeofday' 
to your datatable, see the below sample.

eg:  var data = new google.visualization.datatable();
data.addColumns('timeofday', 'TimeStamp');   // datatype, column label
data.addColumns('number', 'Consumers');       // datatype, column label

data.addRows([11,22,22],[10]);  // [hours, min, sec] ,[consumers] 
data.addRows([22,22,22],[15]); 

var options ={} ;

var chart = new 
google.visualization.linechart(document.getelemntbyid("xx"));

chart.draw(data, options);




On Wednesday, November 23, 2016 at 4:52:09 PM UTC-6, Rob Berry wrote:
>
> Hello All,
>
> I've been using a Timeline chart for a while now and very pleased with how 
> it works but there's one slight problem that I believe you may be able to 
> assist with.
>
> It currently displays host uptime (based on an arpscan every 5 mins) and 
> when there is a small time range in the chart, typically a few days worth, 
> the X Axis shows time (in hours) and when mouse I over an item on the 
> chart, it shows the times and duration in hours and minutes e.g. 08:50am - 
> 09:00am Duration: 10 mins.  When however the chart shows a greater period 
> of time, the X Axis changes to display the date and mousing over the chart 
> items shows the date and duration in days e.g. Nov 22 - 22, 2016 Duration: 
> 1 Day.
>
> As I would like the chart more granular, is there a way that I can force 
> the X Axis (and the information when mousing over an item), to show the 
> Hours and Minutes, rather than days?
>
> Thanks for any assistance,
> Rob.
>

-- 
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/22ba6a82-cb8a-4910-9cd6-bff077c765cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to