I am trying to draw a Gantt chart and query the Data Table from a Google Sheet. I can draw a Gantt chart successfully when I hard code the Data Table in the Javascript. When I query the Google Sheet for the Data Table, the chart.draw() function produces an error. I've looked the difference between the two Data Tables in the debugger. The only meaningful difference I can see is how null objects are represented. In the hard coded data table, fields that are null are represented by an Object with a null value. In the queried Data Table, empty fields are represented by null, there is no Object. Could this be what is causing draw.chart() to produce an error? I've attached both examples.
Chris -- 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/afb16269-c582-4b88-9bf4-b70e73af2066%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
