Hopefully this helps others searching for this same fairly generic error. 
 Much like Zdravko, my cause came down to syntax.

On a site that worked until recently (April, 2016) I had a ComboChart with 
this included in the options:
               chartArea:{left:85,bottom:75,width:'77%',height:'78%'},

If I comment this out of the chart options, the chart renders, and if I 
include it I get the error noted in the subject of this thread.

Upon changing to this, it works again:
              
 chartArea:{left:'85px',bottom:'75px',width:'77%',height:'78%'},

This is the full chart definition, for context (with proper syntax in 
place):

      var chart_flows6 = new google.visualization.ChartWrapper({
                containerId: 'chart_flows6',
                chartType: 'ComboChart',
                options: {title: 'ARKPUECO Stream Gage - Colors of Water',
                              seriesType:'area',
                              width:'100%',height:320,
                              
chartArea:{left:'85px',bottom:'75px',width:'77%',height:'78%'},
                              isStacked:'true', lineWidth:0,
                              series: {0: {type: 
'line',lineWidth:1,pointSize:9}}
                             }
                                                                            
               }); 

I'm guessing I was using an old syntax that was finally deprecated as of 
May 2016.

~Kelly

On Saturday, July 26, 2014 at 8:52:55 AM UTC-6, Zdravko Balorda wrote:
>
> I get this error on rendering a ComboChart in Chrome:
> Cannot read property 'length' of null
>
> The same page in FireFox works ok.
> Best regards, Zdravko
>

-- 
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 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/83c133f3-3a33-4aab-b797-91d93a4ae12a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to