程序是没有问题的但是提示Uncaught TypeError: Cannot read property 'linear' of undefined
2016-10-16 14:20
671 查看
程序是没有问题的但是提示Uncaught TypeError: Cannot read property 'linear' of undefined ![示例图](http://img.blog.csdn.net/20161016141937079)
解决方案:新库中不使用d3.scale.linear()啦,而是用 d3.scaleLinear() 来代替。把所有的d3.scale.linear()换成d3.scaleLinear()就可以出结果了。
相关文章推荐
- Uncaught TypeError: Cannot read property 'options' of undefined
- Uncaught TypeError: Cannot read property '_setter' of undefined
- JQuery报错:Uncaught TypeError: Cannot read property 'trim' of undefined
- 百度Map之Uncaught TypeError: Cannot read property 'fc' of undefined
- Uncaught TypeError Cannot read property 'length' of undefined
- Uncaught TypeError: Cannot read property 'tabs' or '' of undefined
- 错误:Uncaught TypeError: Cannot read property 'WebSocket' of undefined
- 百度地图调用报错Uncaught TypeError:Cannot read property 'fc' of undefined
- 关于stimusoft report 打印出现Uncaught TypeError: Cannot read property 'margins' of undefined的原因
- 更新jquery-1.12.4.min.js后抛may throw: Uncaught TypeError: Cannot read property 'mozilla' of undefined
- js中Uncaught TypeError: Cannot read property 'substr' of undefined问题分析
- Uncaught TypeError: Cannot read property 'width' of undefined
- Uncaught TypeError: Cannot read property ‘props’ of undefined
- Uncaught TypeError: Cannot read property 'attr' of undefined
- Cocos creator中出现Uncaught TypeError: Cannot read property 'node' of undefined
- 报错:Uncaught TypeError: Cannot read property 'length' of undefined
- EasyUI异常——Uncaught TypeError: Cannot read property 'options' of undefined
- Uncaught TypeError: Cannot read property 'length' of undefined出现的问题
- Uncaught TypeError: Cannot read property '_setter' of undefineda
- echarts.js:24938 Uncaught TypeError: Cannot read property '0' of undefined