You should have the time set correctly (keep in mind that the "hour" parameter for dates is on a 24-hour clock, so 11PM is 23). Try setting the format of the axis (hAxis.format<https://developers.google.com/chart/interactive/docs/gallery/linechart#Configuration_Options>) to show date and hour.
On Monday, June 25, 2012 5:16:10 AM UTC-4, Antoine O wrote: > > Hi > I'd like to know if it's possible to show dates and hours on the x-axis of > the Line chart. > > Indeed I'd like to show a stock value which is updated twice a day (11:00 > AM and 11:00 PM). > So is it possible to show 2 values within the same day ? > > I tried that code : > > [new Date(year, month ,day , hour, minutes), value, null, null], > > But it didn't work. > > Is there an answer to my issue ? > > PS : excuse my english > > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/tf_ZzNzPSAgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
