apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.44k stars 19.61k forks source link

关系图中,将coordinateSystem 设置为'geo' #4604

Closed Mr-O2 closed 7 years ago

Mr-O2 commented 7 years ago

如题,在关系图中,一旦将coordinateSystem 设置为'geo',就会报错

echarts.js?ver=1.0:39082 Uncaught TypeError: Cannot read property 'type' of undefined(…) --位置:39082行

如http://echarts.baidu.com/demo.html#graph-simple的例子,一旦添加coordinateSystem :'geo'就会报错。 地理坐标到底要怎么用呢? image

pissang commented 7 years ago

你没定义 geo 组件啊,跟散点图用法类似

ihepta commented 6 years ago

@pissang 您好,请问effectScatter的图是依赖coordinateSystem : 'cartesian2d'的吗?我的series数组中有这两种类型的图,graph的图好像不能增加coordinateSystem : 'cartesian2d',两者都加了这句代码就只显示effectScatter,两者都不加就只显示graph,这是一个bug吗?希望能帮我解答一下,谢谢!

yoyoyueer commented 5 years ago

您好!请问您的这个问题解决了吗?我也是遇到这个问题,加了coordinateSystem:'geo',后就报错

GaoJuqian commented 3 years ago

项目中确认是否引入了 geo,还有配置项也要有geo。