I need to create a scatter plot with 30 seconds data as below: head(y,20) DATE CPU 1 2013-05-08 03:14:30 42 2 2013-05-08 03:15:00 45 3 2013-05-08 03:15:30 45 4 2013-05-08 03:16:00 44 5 2013-05-08 03:16:30 44 6 2013-05-08 03:17:00 44 7 2013-05-08 03:17:30 43 8 2013-05-08 03:18:00 44 9 2013-05-08 03:18:30 43 10 2013-05-08 03:19:00 37 11 2013-05-08 03:19:30 40 12 2013-05-08 03:20:00 39 13 2013-05-08 03:20:30 42 14 2013-05-08 03:21:00 44 15 2013-05-08 03:21:30 43 16 2013-05-08 03:22:00 45 17 2013-05-08 03:22:30 41 18 2013-05-08 03:23:00 39 19 2013-05-08 03:23:30 38 20 2013-05-08 03:24:00 37 I tried this: cpu<-gvisScatterChart(y) I get this error, any ideas?
Error in gvis(type = type, checked.data, options = options, chartid = chartid, : Only the following data types are allowed: number However, DATE is of type datetime -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.