You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/11/29 09:51:12 UTC

[echarts-examples] branch gh-pages updated: normalize the value of font size in some examples

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

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 30bac6f7 normalize the value of font size in some examples
30bac6f7 is described below

commit 30bac6f7dd385ef3adcf95bdc2f65c3e0896f83c
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Nov 29 17:49:54 2022 +0800

    normalize the value of font size in some examples
---
 public/examples/ts/pie-borderRadius.ts | 2 +-
 public/examples/ts/pie-doughnut.ts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/examples/ts/pie-borderRadius.ts b/public/examples/ts/pie-borderRadius.ts
index 82e147d0..cc4573bc 100644
--- a/public/examples/ts/pie-borderRadius.ts
+++ b/public/examples/ts/pie-borderRadius.ts
@@ -31,7 +31,7 @@ option = {
       emphasis: {
         label: {
           show: true,
-          fontSize: '40',
+          fontSize: 40,
           fontWeight: 'bold'
         }
       },
diff --git a/public/examples/ts/pie-doughnut.ts b/public/examples/ts/pie-doughnut.ts
index db8f324b..e377f6c4 100644
--- a/public/examples/ts/pie-doughnut.ts
+++ b/public/examples/ts/pie-doughnut.ts
@@ -26,7 +26,7 @@ option = {
       emphasis: {
         label: {
           show: true,
-          fontSize: '40',
+          fontSize: 40,
           fontWeight: 'bold'
         }
       },


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