Every column in your data set will have the same number of rows, so changing columns won't change the number of data points. You can approach the problem two ways that I can see: 1). Make two DataTables (1 for minutes, 1 for hours) and change the data table when the zoom range changes 2). Use 1 column with a string value of 'minutes' or 'hours' and then filter a DataView on the string value when the range changes; DataTable would be set up something like this:
Time | unit | data1 | data2 | data3 --------------------------------------- 1 | minutes | <1> | <2> | <3> 2 | minutes | <1> | <2> | <3> 3 | minutes | <1> | <2> | <3> 4 | hours | <1> | <2> | <3> 5 | hours | <1> | <2> | <3> -- 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/-/gs4ccSkVI6YJ. 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.
