You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$.get('data/lines-bus.json', function(data) {
var hStep = 300 / (data.length - 1);
var busLines = [].concat.apply([], data.map(function(busLine,idx) {}
浏览器抛出异常: Uncaught TypeError: data.map is not a function
版本及环境 (Version & Environment)
ECharts 版本 (ECharts version): 3.2.2
浏览器类型和版本 (Browser version): Chrome 52.0.2743.82 m (64-bit)
问题简述:
$.get('data/lines-bus.json', function(data) {
var hStep = 300 / (data.length - 1);
var busLines = [].concat.apply([], data.map(function(busLine,idx) {}
浏览器抛出异常: Uncaught TypeError: data.map is not a function
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
1.参照 https://github.com/ecomfe/echarts/blob/master/test/lines-bus.html 实现
期望结果 (Expected behaviour)
实例中的 北京公交路线 - 百度地图 http://echarts.baidu.com/demo.html#lines-bmap-bus
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: