Skip to content
Permalink
Browse files
update FAQ
  • Loading branch information
plainheart committed May 3, 2022
1 parent ce4e851 commit 29083a329f1d2e5f56035fffa475a6a420d0b987
Showing 2 changed files with 8 additions and 8 deletions.
@@ -28,10 +28,10 @@ block content
.page-detail
h2#ask-questions General Questions
h3 What to do if you have technical problem?
p 1It is recommended that you read the navigation on the left side of the <a href="https://echarts.apache.org/en/option.html">option manual</a> 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 2Browse FAQ questions on this page.
p 3Create a simple example to reproduce your problem on <a href="https://codesandbox.io/">CodeSandbox</a>. 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 <a href="https://stackoverflow.com">stackoverflow</a>, <a href="https://www.oschina.net/question/tag/echarts">OSCHINA</a> or <a href="https://segmentfault.com/t/echarts">segmentfault.com</a> and etc. Plaes attach the example link.
p 1) It is recommended that you read the navigation on the left side of the <a href="https://echarts.apache.org/en/option.html">option manual</a> 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 <a href="https://echarts.apache.org/examples/en/editor.html">Offical Editor</a>, <a href="https://codepen.io/Ovilia/pen/dyYWXWM">CodePen</a>, <a href="https://codesandbox.io/s/echarts-basic-example-template-mpfz1s">CodeSandbox</a> or <a href="https://jsfiddle.net/plainheart/e46ozpqj/7/">JSFiddle</a>. 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 <a href="https://stackoverflow.com">stackoverflow</a> 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 <code>echarts.js</code>, <code>bmap.js</code> and <code>https://api.map.baidu.com/api?v=2.0&ak=Here is the access key you obtained on the Baidu development platform</code>.
li Include <code>echarts.js</code>, <code>bmap.js</code> and <code>https://api.map.baidu.com/api?v=3.0&ak=Here is the access key you obtained on the Baidu development platform</code>.
li Set <code>bmap</code> in <code>option</code>,You can refer to this <a href="https://echarts.apache.org/examples/en/editor.html?c=effectScatter-bmap">example</a>.
li If you need to get a Baidu map instance, you can use <code>chart.getModel().getComponent('bmap').getBMap()</code>,and then make do settings based on <a href="https://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html">Baidu Maps API</a> .

@@ -27,7 +27,7 @@ block content
h3 有技术问题怎么办?
p 1)建议您在提问前,大致阅读一下<a href="https://echarts.apache.org/zh/option.html">配置项手册</a>左侧导航,了解 ECharts 有哪些配置项,并且在相关的组件下查找是否有实现您需要功能的配置项;
p 2)查看本页常见问题的解答;
p 3)建议在 <a href="https://codesandbox.io/">CodeSandbox</a> 上添加图表,复现你的问题,如果无法使用代码描述需求,可以尝试提供设计稿或画个草图;
p 3)建议使用<a href="https://echarts.apache.org/examples/zh/editor.html">官方编辑器</a>、<a href="https://codepen.io/Ovilia/pen/dyYWXWM">CodePen</a>、<a href="https://codesandbox.io/s/echarts-basic-example-template-mpfz1s">CodeSandbox</a> 或 <a href="https://jsfiddle.net/plainheart/e46ozpqj/7/">JSFiddle</a> 添加图表,复现你的问题,如果无法使用代码描述需求,可以尝试提供设计稿或画个草图;
p 4)推荐在 <a href="https://stackoverflow.com">stackoverflow.com</a>、<a href="https://www.oschina.net/question/tag/echarts">开源中国</a> 或 <a href="https://segmentfault.com/t/echarts">segmentfault.com</a> 等问答平台上提问,附上图表链接。

h3 ECharts 可以免费商用吗?
@@ -90,7 +90,7 @@ block content
h2#baidu-map 百度地图
h3 如何结合百度地图使用 ECharts?
ol
li 引入 <code>echarts.js</code>、<code>bmap.js</code> 以及 <code>https://api.map.baidu.com/api?v=2.0&ak=这里填在百度开发平台注册得到的 access key</code>;
li 引入 <code>echarts.js</code>、<code>bmap.js</code> 以及 <code>https://api.map.baidu.com/api?v=3.0&ak=这里填在百度开发平台注册得到的 access key</code>;
li 在 <code>option</code> 中设置 <code>bmap</code>,参考<a href="https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap">这个例子</a>;
li 如需获得百度地图实例,可以通过 <code>chart.getModel().getComponent('bmap').getBMap()</code>,然后根据<a href="https://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html">百度地图 API</a>做进一步设置。

0 comments on commit 29083a3

Please sign in to comment.