If you want a precise set of ticks, you can use the ticks option, for the
hAxis in your case.

You might want to use the 'timeofday' data type, which lets you specify
times regardless of the date. e.g. [9, 30, 37] is 9:30 and 37 seconds.

If you use timeofday, then your ticks option would look like this:  hAxis:
{ ticks: [ [0, 0, 0], [1, 0, 0], [2, 0, 0], ... ]  }


On Mon, Jul 18, 2016 at 9:54 AM, normann badr <[email protected]> wrote:

> Hello,
>
> Thank you for ur help.
>
> When u look my chart, my chart scale bottom reprensents the time of the
> day, but it was not hour per hour. In my chart u can see, it s begin at
> 00:00 then 00:55, 01:50 etc... I would like clean numbers, 00:00, 01:00,
> 02:00 etc...
>
> Le lundi 18 juillet 2016 15:47:07 UTC+2, Daniel LaLiberte a écrit :
>>
>> It is not clear what you want, but I suspect you need to actually use
>> "date" or "datetime" values. Use the JS Date constructor, or the string
>> notation, e.g. "Date(yyyy, MM, dd, hh, mm, ss)".  See
>> https://developers.google.com/chart/interactive/docs/datesandtimes
>>
>> On Mon, Jul 18, 2016 at 9:43 AM, normann badr <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I have a problem, my chart display collected data every 5 minutes during
>>> one day. When i create my chart, i would like a hour time scale per hour.
>>>
>>> I know my english it's terrible.
>>>
>>> If you don't have understand what i mean, here a picture of my chart.
>>>
>>>
>>> <https://lh3.googleusercontent.com/-AOIfruQ-c28/V4zb6pFhRkI/AAAAAAAAACE/Tt2YOKv5MOw4kn6O5IgR26tAe2MqK1p6wCLcB/s1600/Capture1.PNG>
>>>
>>>
>>> If someone have 5 minutes to help, i would appreciate
>>>
>>> --
>>> 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/a870c532-7e0f-4fea-beb0-a5c982bdc080%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/a870c532-7e0f-4fea-beb0-a5c982bdc080%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> [email protected]   5CC, Cambridge MA
>>
> --
> 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/fe1085ec-fbcd-4364-92f1-bdeafc86d764%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/fe1085ec-fbcd-4364-92f1-bdeafc86d764%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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/CAOtcSJMY9z1_9SkM3pa%2BD8AN6v3%2B_i3jAfisS4Xu18sT%2Bis0qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to