Hi Chris, I would guess you have found a bug. We should be able to handle a null value or an object with 'v' property of null the same way. So thanks for reporting this. Not sure how soon we can get to fixing it but we'll look into it. I don't know if there might be a workaround, such as inserting a space in empty fields.
On Tue, Jan 19, 2016 at 11:13 AM, Chris Hellewell <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/google-visualization-api/afb16269-c582-4b88-9bf4-b70e73af2066%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/CAOtcSJMpAdeMXo%2B_Ehk57a7P_sfzURsKn-wVPmWrV5reC81itQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
