Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix incorrect and broken links. #116

Merged
merged 2 commits into from Jun 22, 2020
Merged

fix incorrect and broken links. #116

merged 2 commits into from Jun 22, 2020

Conversation

plainheart
Copy link
Member

(1) fixed incorrect and broken links.
(2) removed some special characters in gl option.
(3) tweaked #114: replace semicolon with comma.
(4) added missing symbols.

(2) removed some special characters in gl option.
(3) tweaked #114: replace semicolon with comma.
(4) added missing symbols.
@plainheart plainheart mentioned this pull request Jun 21, 2020
@plainheart
Copy link
Member Author

@susiwen8 Please help me to review, thank you!

@plainheart plainheart requested a review from susiwen8 June 22, 2020 10:24

* Download from [GitHub](https://github.com/apache/incubator-echarts/releases)

* Using npm: `npm install echarts --save`. [Using ECharts with webpack](${websitePath}/tutorial.html#Use%20ECharts%20with%20webpack)
* Using npm: `npm install echarts --save`. [Using ECharts with webpack](tutorial.html#Use%20ECharts%20with%20webpack)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better: ${websitePath}/en/tutorial.html#Use%20ECharts%20with%20webpack

@@ -77,4 +77,4 @@ myChart.setOption({

Available modules see [https://github.com/apache/incubator-echarts/blob/master/index.js](https://github.com/apache/incubator-echarts/blob/master/index.js)

The same goes for another popular packaging tools [browserify](http://browserify.org/), which will not be introduced again here. Using [rollup](https://rollupjs.org/) to make a custom build of echarts is introduced in [Create Custom Build of ECharts](http://echarts.baidu.com/tutorial.html#Create%20Custom%20Build%20of%20ECharts)
The same goes for another popular packaging tools [browserify](http://browserify.org/), which will not be introduced again here. Using [rollup](https://rollupjs.org/) to make a custom build of echarts is introduced in [Create Custom Build of ECharts](tutorial.html#Create%20Custom%20Build%20of%20ECharts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same ${websitePath}/en/


* 在 ECharts 的 [GitHub](https://github.com/apache/incubator-echarts/releases) 获取。

* 通过 npm 获取 echarts,`npm install echarts --save`,详见“[在 webpack 中使用 echarts](${websitePath}/tutorial.html#%E5%9C%A8%20webpack%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20ECharts)”
* 通过 npm 获取 echarts,`npm install echarts --save`,详见“[在 webpack 中使用 echarts](tutorial.html#%E5%9C%A8%20webpack%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20ECharts)”
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${websitePath}/zh/tutorial.html#%E5%9C%A8%20webpack%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20ECharts


除此之外我们还把原来默认的透视投影改成了正交投影。正交投影在某些场景中可以避免因为近大远小所造成的表达错误。

![](~gl/scatter3D-color.png)

当然,除了 [visualMap](http://echarts.baidu.com/option.html#visualMap) 组件,还可以利用其它的 ECharts 内置组件并且充分利用这些组件的交互效果,比如 [legend](http://echarts.baidu.com/option.html#legend)。也可以像 [三维散点图和散点矩阵结合使用](http://echarts.baidu.com/examples/editor.html?c=scatter3d-scatter&gl=1) 这个例子一样实现二维和三维的系列混搭。
当然,除了 [visualMap](option.html#visualMap) 组件,还可以利用其它的 ECharts 内置组件并且充分利用这些组件的交互效果,比如 [legend](option.html#legend)。也可以像 [三维散点图和散点矩阵结合使用](${galleryEditorPath}scatter3d-scatter&gl=1) 这个例子一样实现二维和三维的系列混搭。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${websitePath}/zh/option.html

]
```

在 ECharts 4 中我们可以使用 dataset 组件非常方便地引入这份数据。如果对 dataset 还不熟悉的话可以看[dataset使用教程](http://echarts.baidu.com/tutorial.html#%E4%BD%BF%E7%94%A8%20dataset%20%E7%AE%A1%E7%90%86%E6%95%B0%E6%8D%AE)
在 ECharts 4 中我们可以使用 dataset 组件非常方便地引入这份数据。如果对 dataset 还不熟悉的话可以看[dataset使用教程](tutorial.html#%E4%BD%BF%E7%94%A8%20dataset%20%E7%AE%A1%E7%90%86%E6%95%B0%E6%8D%AE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${websitePath}/zh/tutorial.html#%E4%BD%BF%E7%94%A8%20dataset%20%E7%AE%A1%E7%90%86%E6%95%B0%E6%8D%AE

@@ -98,7 +98,7 @@ for (var i = 0; i < 1000; i++) {

每一项都包含了`x`, `y`, `z`三个值,这三个值会分别被映射到笛卡尔坐标系的 x 轴,y 轴和 z 轴上。

然后我们可以使用 GL 提供的 [scatter3D](http://echarts.baidu.com/option-gl.html#series-scatter3D) 系列类型把这些数据画成三维空间中正态分布的点。
然后我们可以使用 GL 提供的 [scatter3D](option-gl.html#series-scatter3D) 系列类型把这些数据画成三维空间中正态分布的点。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${websitePath}/zh/option-gl.html#series-scatter3D


在 ECharts 中我们有 [grid](http://echarts.baidu.com/option.html#grid) 组件用于提供一个矩形的区域放置一个二维的笛卡尔坐标系,以及笛卡尔坐标系上上的 x 轴([xAxis](http://echarts.baidu.com/option.html#xAxis))和 y 轴([yAxis](http://echarts.baidu.com/option.html#yAxis))。对于三维的笛卡尔坐标系,我们在 GL 中提供了 [grid3D](http://echarts.baidu.com/option-gl.html#grid3D) 组件用于划分一块三维的笛卡尔空间,以及放置在这个 [grid3D](http://echarts.baidu.com/option-gl.html#grid3D) 上的 [xAxis3D](http://echarts.baidu.com/option-gl.html#xAxis3D), [yAxis3D](http://echarts.baidu.com/option-gl.html#yAxis3D), [zAxis3D](http://echarts.baidu.com/option-gl.html#zAxis3D)。
在 ECharts 中我们有 [grid](option.html#grid) 组件用于提供一个矩形的区域放置一个二维的笛卡尔坐标系,以及笛卡尔坐标系上上的 x 轴([xAxis](option.html#xAxis))和 y 轴([yAxis](option.html#yAxis))。对于三维的笛卡尔坐标系,我们在 GL 中提供了 [grid3D](option-gl.html#grid3D) 组件用于划分一块三维的笛卡尔空间,以及放置在这个 [grid3D](option-gl.html#grid3D) 上的 [xAxis3D](option-gl.html#xAxis3D), [yAxis3D](option-gl.html#yAxis3D), [zAxis3D](option-gl.html#zAxis3D)。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${websitePath}/zh/

+ If [build ECharts online](http://echarts.baidu.com/builder.html), the checkbox "SVG 渲染" should be checked.
+ If [build ECharts offline](http://echarts.baidu.com/tutorial.html#Create%20Custom%20Build%20of%20ECharts), the module of the SVG renderer should be imported:
+ If [build ECharts online](${websitePath}/en/builder.html), the checkbox "SVG Renderer" should be checked.
+ If [build ECharts offline](tutorial.html#Create%20Custom%20Build%20of%20ECharts), the module of the SVG renderer should be imported:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${websitePath}/en/

@plainheart
Copy link
Member Author

I think these are okay, no need to use websitePath. It will be handled correctly when switch the language.

@plainheart plainheart merged commit db09fb0 into apache:master Jun 22, 2020
@plainheart plainheart deleted the fix-links branch June 22, 2020 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants