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 f6f4fa3 update doc f6f4fa3 is described below commit f6f4fa39a273e5e2c17791bcf092d6ace1926348 Author: pissang <bm2736...@gmail.com> AuthorDate: Wed Nov 24 10:13:57 2021 +0800 update doc --- en/api/echarts-instance.md | 3 ++- zh/api/echarts-instance.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/en/api/echarts-instance.md b/en/api/echarts-instance.md index d0cfdb7..0fd2d2e 100644 --- a/en/api/echarts-instance.md +++ b/en/api/echarts-instance.md @@ -677,7 +677,8 @@ Hides animation loading effect. ## getDataURL(Function) ```js (opts: { - // Exporting format, can be either png, or jpeg + // Exporting format, can be png, jpg, svg. + // NOTE: png, jpg is only available for canvas renderer. svg is only available for svg renderer. type?: string, // Resolution ratio of exporting image, 1 by default. pixelRatio?: number, diff --git a/zh/api/echarts-instance.md b/zh/api/echarts-instance.md index 84cb33b..78a0eea 100644 --- a/zh/api/echarts-instance.md +++ b/zh/api/echarts-instance.md @@ -669,7 +669,8 @@ default: { ## getDataURL(Function) ```js (opts: { - // 导出的格式,可选 png, jpeg + // 导出的格式,可选 png, jpg, svg + // 注意:png, jpg 只有在 canvas 渲染器的时候可使用,svg 只有在使用 svg 渲染器的时候可用 type?: string, // 导出的图片分辨率比例,默认为 1。 pixelRatio?: number, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org