You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/11/16 03:16:42 UTC

[GitHub] [incubator-echarts] sadofriod commented on issue #6983: 使用lines时,coords中出现Cannot read property 'dataToPoint' of undefined

sadofriod commented on issue #6983:
URL: https://github.com/apache/incubator-echarts/issues/6983#issuecomment-727710252


   使用require('echarts/lib/component/geo'),还需要再配置里面option加入
   `geo:{ ... }`的相关配置。这样才能再echart渲染的时候使用geo组件,例如:
   ```json
   {"geo":{"map":"insideMap","label":{"emphasis":{"show":true,"color":"#fff"}},"roam":true,"itemStyle":{"normal":{"areaColor":"#323c48","borderColor":"#404a59"},"emphasis":{"areaColor":"#2a333d"}}},"series":[{"name":"map","type":"map","map":"insideMap"},{"type":"lines","name":"flyLine"}]}
   ````
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org