Skip to content
Permalink
Browse files
fix some outdated links in faq page.
  • Loading branch information
plainheart committed Jan 26, 2021
1 parent 6286cc8 commit 8a253d79e247afb4568c6ac10b190cd17ce50242
Showing 2 changed files with 12 additions and 12 deletions.
@@ -30,12 +30,12 @@ block content
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 <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://gallery.echartsjs.com/editor.html">ECharts Gallery</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 3)Create a simple example to reproduce your problem on <a href="https://www.makeapie.com/editor.html">ECharts Gallery</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.


h3 Is ECharts free to use?
p Yes, ECharts is open-sourced under <a href="./license.html">Apache License 2.0</a>.
p Yes, ECharts is open-sourced under <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.

h2#axis Axis
h3 What should I do if the axis label don`t have enough space?
@@ -47,7 +47,7 @@ block content

h3 How do I force the first / last label of the axis to be displayed?
p Both <a href="https://echarts.apache.org/en/option.html#xAxis.axisLabel.showMinLabel">axisLabel.showMinLabel</a> and <a href="https://echarts.apache.org/en/option.html#xAxis.axisLabel.showMaxLabel">axisLabel.showMaxLabel</a> are supported since ECharts version 3.5.2. It can be used to control whether the first / last tags are forced to display.
p If you can't update the version, please refer to this <a href="https://gallery.echartsjs.com/editor.html?c=xry06afSje">example</a> to achieve the same effect.
p If you can't update the version, please refer to this <a href="https://www.makeapie.com/editor.html?c=xry06afSje">example</a> to achieve the same effect.



@@ -85,7 +85,7 @@ block content
| myChart.on('georoam', function (params) {
| console.log(params);
| });
p Please refer to <a href="https://gallery.echartsjs.com/editor.html?c=xHyqn_rQ6g">this example</a>.
p Please refer to <a href="https://www.makeapie.com/editor.html?c=xHyqn_rQ6g">this example</a>.

h3 How to make my custom map?
p The ECharts map is <a href="https://github.com/apache/echarts/blob/8eeb7e5abe207d0536c62ce1f4ddecc6adfdf85e/src/util/mapData/rawData/encode.js">additionally encoded</a> from original coordinates. You can use the <a href="https://github.com/giscafer/mapshaper-plus">mapshaper-plus tool</a> to upload a custom geojson file and then generate a map file that can be used in Echarts.
@@ -97,7 +97,7 @@ block content
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 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> .
p There are more examples about Baidu maps on <a href="https://gallery.echartsjs.com/explore.html#components=bmap~sort=rank~timeframe=all~author=all">ECharts Gallery</a> , which can be used as a reference.
p There are more examples about Baidu maps on <a href="https://www.makeapie.com/explore.html">ECharts Gallery</a> , which can be used as a reference.



@@ -122,7 +122,7 @@ block content
li Whether the DOM container has a width or height when calling <code>echarts.init</code>.

h3 Where can I learn ECharts?
p The official website is the best learning platform. In addition, learning other people's work on the <a href="https://gallery.echartsjs.com">ECharts Gallery</a> is also a good choice.
p The official website is the best learning platform. In addition, learning other people's work on the <a href="https://www.makeapie.com">ECharts Gallery</a> is also a good choice.
p ECharts related projects and resources can be found at <a href="https://github.com/ecomfe/awesome-echarts">awesome-echarts</a>.

include ../components/inner-footer
@@ -27,11 +27,11 @@ block content
h3 有技术问题怎么办?
p 1)建议您在提问前,大致阅读一下<a href="https://echarts.apache.org/zh/option.html">配置项手册</a>左侧导航,了解 ECharts 有哪些配置项,并且在相关的组件下查找是否有实现您需要功能的配置项;
p 2)查看本页常见问题的解答;
p 3)建议在 <a href="https://gallery.echartsjs.com/editor.html">ECharts Gallery</a> 上添加图表,复现你的问题,如果无法使用代码描述需求,可以尝试提供设计稿或画个草图;
p 3)建议在 <a href="https://www.makeapie.com/editor.html">ECharts Gallery</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 可以免费商用吗?
p 可以,ECharts 基于 <a href="./license.html">Apache License 2.0</a> 开源。
p 可以,ECharts 基于 <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a> 开源。

h2#axis 坐标轴
h3 坐标轴标签显示空间不够怎么办?
@@ -43,7 +43,7 @@ block content

h3 如何强制显示坐标轴第一个/最后一个标签?
p ECharts 3.5.2 版本起,支持 <a href="https://echarts.apache.org/zh/option.html#xAxis.axisLabel.showMinLabel">axisLabel.showMinLabel</a> 以及 <a href="https://echarts.apache.org/zh/option.html#xAxis.axisLabel.showMaxLabel">axisLabel.showMaxLabel</a>,分别用来控制第一个/最后一个标签是否强制显示,设为 <code>true</code> 则强制显示。
p 如果不方便更新版本,可以参考<a href="https://gallery.echartsjs.com/editor.html?c=xry06afSje">这个例子</a>实现同样的效果。
p 如果不方便更新版本,可以参考<a href="https://www.makeapie.com/editor.html?c=xry06afSje">这个例子</a>实现同样的效果。



@@ -82,7 +82,7 @@ block content
| myChart.on('georoam', function (params) {
| console.log(params);
| });
p 参见这个<a href="https://gallery.echartsjs.com/editor.html?c=xHyqn_rQ6g">完整的例子</a>。
p 参见这个<a href="https://www.makeapie.com/editor.html?c=xHyqn_rQ6g">完整的例子</a>。

h3 如何制作自定义地图?
p ECharts 地图在地图坐标的基础上进行过<a href="https://github.com/apache/echarts/blob/8eeb7e5abe207d0536c62ce1f4ddecc6adfdf85e/src/util/mapData/rawData/encode.js">额外的编码</a>。可以使用 <a href="https://github.com/giscafer/mapshaper-plus">mapshaper-plus</a> 工具,上传自定义的 geojson 文件,生成 ECharts 可以使用的地图文件。
@@ -95,7 +95,7 @@ block content
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>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>做进一步设置。
p <a href="https://gallery.echartsjs.com/explore.html#components=bmap~sort=rank~timeframe=all~author=all">Gallery</a> 上有更多百度地图的例子,可作为参考。
p <a href="https://www.makeapie.com/explore.html">Gallery</a> 上有更多百度地图的例子,可作为参考。



@@ -120,7 +120,7 @@ block content
li 调用 <code>echarts.init</code> 的时候,DOM 容器是否有宽高。

h3 ECharts 有哪些学习资料?
p 官网是最好的学习平台。此外,在 <a href="https://gallery.echartsjs.com">ECharts Gallery</a> 上学习别人的作品也是一个不错的选择。
p 官网是最好的学习平台。此外,在 <a href="https://www.makeapie.com">ECharts Gallery</a> 上学习别人的作品也是一个不错的选择。
p ECharts 相关项目及资源请参见 <a href="https://github.com/ecomfe/awesome-echarts">awesome-echarts</a>。

include ../components/inner-footer

0 comments on commit 8a253d7

Please sign in to comment.