You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/05/19 06:35:06 UTC

[echarts-doc] branch master updated: update outdated content

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 458af35  update outdated content
458af35 is described below

commit 458af352bf1a35a1057e07d26c0e4668b4dacb9a
Author: pissang <bm...@gmail.com>
AuthorDate: Wed May 19 14:34:52 2021 +0800

    update outdated content
---
 blog-src/images/post/2017-11-07-canvas-vs-svg.png | Bin 163981 -> 0 bytes
 en/tutorial/renderer.md                           |   8 --------
 zh/tutorial/renderer.md                           |   8 ++------
 3 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/blog-src/images/post/2017-11-07-canvas-vs-svg.png b/blog-src/images/post/2017-11-07-canvas-vs-svg.png
deleted file mode 100644
index f305af3..0000000
Binary files a/blog-src/images/post/2017-11-07-canvas-vs-svg.png and /dev/null differ
diff --git a/en/tutorial/renderer.md b/en/tutorial/renderer.md
index 499fe8d..63a9873 100644
--- a/en/tutorial/renderer.md
+++ b/en/tutorial/renderer.md
@@ -12,12 +12,6 @@ ECharts has been using Canvas as its renderer (use VML for IE8-) from the beginn
 
 Generally speaking, Canvas is suitable for cases where there is a large amount of graphical elements (usually due to a large amount of data points), like heatmap and lines or scatter plot with large data in geo or parallel coordinates. In addition, it supports some [special visual effect](${websitePath}/examples/en/editor.html?c=lines-bmap-effect) not supported by SVG. However, in some other scenarios SVG has some critical advantages: it consumes less memory than Canvas (especially in mo [...]
 
-Below is a comparison of frame rate during the initial animation stage when rendering line, bar, pie charts with the Canvas renderer and the SVG renderer:
-
-~[90%x400](${galleryViewPath}doc-example/canvas-vs-svg-en&reset=1)
-
-In the example above, the SVG renderer provides better FPS performance in mobile devices. In some other scenarios with large amounts of data or with certain kinds of user interaction, the SVG renderer is still not as good as the Canvas renderer in performance, but two options provide the ability to optimize the performance according to the requirements of each developer.
-
 How to make a choice? These factors, hardware and software environment, data amount and functional requirements, should be considered.
 
 + When not constrained by hardware/software, and the data amount is not large, both should provide equally satisfactory results.
@@ -27,8 +21,6 @@ How to make a choice? These factors, hardware and software environment, data amo
 
 Therefore [feedback](https://github.com/apache/echarts/issues/new) of experiences and usage scenarios are strongly welcomed, which will help improve the these renderers.
 
-Notice: The features of rich text, shadow and texture have not been supported yet in the current beta version of the SVG renderer.
-
 ## How to use specify a renderer?
 
 ECharts uses Canvas by default. If a user intends to use the SVG renderer, the module of the SVG renderer should be included in ECharts bundle.
diff --git a/zh/tutorial/renderer.md b/zh/tutorial/renderer.md
index fbd62ec..8763d4d 100644
--- a/zh/tutorial/renderer.md
+++ b/zh/tutorial/renderer.md
@@ -10,11 +10,7 @@ Apache ECharts<sup>TM</sup> 从初始一直使用 Canvas 绘制图表(除了
 
 ## 选择哪种渲染器
 
-一般来说,Canvas 更适合绘制图形元素数量非常大(这一般是由数据量大导致)的图表(如热力图、地理坐标系或平行坐标系上的大规模线图或散点图等),也利于实现某些视觉 [特效](${galleryEditorPath}lines-bmap-effect)。但是,在不少场景中,SVG 具有重要的优势:它的内存占用更低(这对移动端尤其重要)、渲染性能略高、并且用户使用浏览器内置的缩放功能时不会模糊。例如,我们在一些硬件环境中分别使用 Canvas 渲染器和 SVG 渲染器绘制中等数据量的折、柱、饼,统计初始动画阶段的帧率,得到了一个性能对比图:
-
-~[90%x400](${galleryViewPath}doc-example/canvas-vs-svg&reset=1)
-
-上图显示出,在这些场景中,SVG 渲染器相比 Canvas 渲染器在移动端的总体表现更好。当然,这个实验并非是全面的评测,在另一些数据量较大或者有图表交互动画的场景中,目前的 SVG 渲染器的性能还比不过 Canvas 渲染器。但是同时有这两个选项,为开发者们根据自己的情况优化性能提供了更广阔的空间。
+一般来说,Canvas 更适合绘制图形元素数量非常大(这一般是由数据量大导致)的图表(如热力图、地理坐标系或平行坐标系上的大规模线图或散点图等),也利于实现某些视觉 [特效](${galleryEditorPath}lines-bmap-effect)。但是,在不少场景中,SVG 具有重要的优势:它的内存占用更低(这对移动端尤其重要)、渲染性能略高、并且用户使用浏览器内置的缩放功能时不会模糊。
 
 选择哪种渲染器,我们可以根据软硬件环境、数据量、功能需求综合考虑。
 + 在软硬件环境较好,数据量不大的场景下(例如 PC 端做商务报表),两种渲染器都可以适用,并不需要太多纠结。
@@ -25,7 +21,7 @@ Apache ECharts<sup>TM</sup> 从初始一直使用 Canvas 绘制图表(除了
 我们强烈欢迎开发者们 [反馈](https://github.com/apache/echarts/issues/new) 给我们使用的体验和场景,帮助我们更好的做优化。
 
 
-注:除了某些特殊的渲染可能依赖 Canvas:如[炫光尾迹特效](option.html#series-lines.effect)、[带有混合效果的热力图](${galleryEditorPath}heatmap-bmap)等,绝大部分功能 SVG 都是支持的。此外,目前的 SVG 版中,富文本、材质功能尚未实现。
+注:除了某些特殊的渲染可能依赖 Canvas:如[炫光尾迹特效](option.html#series-lines.effect)、[带有混合效果的热力图](${galleryEditorPath}heatmap-bmap)等,绝大部分功能 SVG 都是支持的。
 
 
 ## 如何使用渲染器

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