From 29083a329f1d2e5f56035fffa475a6a420d0b987 Mon Sep 17 00:00:00 2001 From: plainheart Date: Tue, 3 May 2022 16:21:04 +0800 Subject: [PATCH] update FAQ --- _jade/en/faq.jade | 12 ++++++------ _jade/zh/faq.jade | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_jade/en/faq.jade b/_jade/en/faq.jade index 49f6bdcd..ba46b545 100644 --- a/_jade/en/faq.jade +++ b/_jade/en/faq.jade @@ -28,10 +28,10 @@ block content .page-detail h2#ask-questions General Questions h3 What to do if you have technical problem? - p 1)It is recommended that you read the navigation on the left side of the option manual before you ask questions. In the option manual, you can find out what configuration items does ECharts have. And you can find under the relevant components whether there are configuration items that can implement the functions you need. - p 2)Browse FAQ questions on this page. - p 3)Create a simple example to reproduce your problem on CodeSandbox. If you can't use the code to describe the requirements, you can try to provide a design draft or draw a sketch. - p 4)Paste the link when you ask questions on stackoverflow, OSCHINA or segmentfault.com and etc. Plaes attach the example link. + p 1) It is recommended that you read the navigation on the left side of the option manual before you ask questions. In the option manual, you can find out what configuration items does ECharts have. And you can find under the relevant components whether there are configuration items that can implement the functions you need. + p 2) Browse FAQ questions on this page. + p 3) Create a simple example to reproduce your problem on Offical Editor, CodePen, CodeSandbox or JSFiddle. If you can't use the code to describe the requirements, you can try to provide a design draft or draw a sketch. + p 4) Ask questions on stackoverflow and attach the example link. h3 Is ECharts free to use? @@ -89,9 +89,9 @@ block content h2#baidu-map baidu-map - h3 How to use ECharts with Baidu map? + h3 How to use ECharts with Baidu Map? ol - li Include echarts.js, bmap.js and https://api.map.baidu.com/api?v=2.0&ak=Here is the access key you obtained on the Baidu development platform. + li Include echarts.js, bmap.js and https://api.map.baidu.com/api?v=3.0&ak=Here is the access key you obtained on the Baidu development platform. li Set bmap in option,You can refer to this example. li If you need to get a Baidu map instance, you can use chart.getModel().getComponent('bmap').getBMap(),and then make do settings based on Baidu Maps API . diff --git a/_jade/zh/faq.jade b/_jade/zh/faq.jade index 617c5e07..6be969d8 100644 --- a/_jade/zh/faq.jade +++ b/_jade/zh/faq.jade @@ -27,7 +27,7 @@ block content h3 有技术问题怎么办? p 1)建议您在提问前,大致阅读一下配置项手册左侧导航,了解 ECharts 有哪些配置项,并且在相关的组件下查找是否有实现您需要功能的配置项; p 2)查看本页常见问题的解答; - p 3)建议在 CodeSandbox 上添加图表,复现你的问题,如果无法使用代码描述需求,可以尝试提供设计稿或画个草图; + p 3)建议使用官方编辑器CodePenCodeSandboxJSFiddle 添加图表,复现你的问题,如果无法使用代码描述需求,可以尝试提供设计稿或画个草图; p 4)推荐在 stackoverflow.com开源中国segmentfault.com 等问答平台上提问,附上图表链接。 h3 ECharts 可以免费商用吗? @@ -90,7 +90,7 @@ block content h2#baidu-map 百度地图 h3 如何结合百度地图使用 ECharts? ol - li 引入 echarts.jsbmap.js 以及 https://api.map.baidu.com/api?v=2.0&ak=这里填在百度开发平台注册得到的 access key; + li 引入 echarts.jsbmap.js 以及 https://api.map.baidu.com/api?v=3.0&ak=这里填在百度开发平台注册得到的 access key; li 在 option 中设置 bmap,参考这个例子; li 如需获得百度地图实例,可以通过 chart.getModel().getComponent('bmap').getBMap(),然后根据百度地图 API做进一步设置。