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

我在使用ECharts 的gauge的时候设置detail下的fontSize属性发现没用 #8242

Closed
daniel-lij opened this issue Apr 28, 2018 · 1 comment
Labels
stale Inactive for a long time. Will be closed in 7 days.

Comments

@daniel-lij
Copy link

daniel-lij commented Apr 28, 2018

One-line summary [问题简述]

我在使用ECharts 的gauge的时候设置detail下的fontSize属性发现没用,另外我设置了title下的字体属性也没用
这是我将图床
https://waifu2x.booru.pics/outfiles/c8c04188cd1246ea8b95df1852b514891b740b66_s2_n1.png

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 3.0
  • Browser version [浏览器类型和版本]: chrome 版本 66.0.3359.117(正式版本) (64 位)
  • OS Version [操作系统类型和版本]: windows 10 家庭版

Expected behaviour [期望结果]

我期望能够解答我的问题,关键的事我在官网上测试是没问题的

ECharts option [ECharts配置项]

option = {
         tooltip : {
                formatter: "{a} <br/>{b} : {c}%"
            },
            series: [
                {
                    name: '超期处置率',
                    type: 'gauge',
                    center: ["50%", "55%"],
                    title : {
                        fontWeight: 'bolder',
                        fontSize: 30
                    },
                    pointer: {
                        show: true,
                        length: '65%',
                        width: 4
                    },
                    detail: {
                        formatter:'{value}%',
                        fontSize:10
                    },
                    axisLine: {            // 坐标轴线  
                        lineStyle: {       // 属性lineStyle控制线条样式  
                            color: [[0.2, '#91c7ae'], [0.8, '#63869e'], [1,'#c23531']],
                            width: 10
                        }  
                    },
                    splitLine:{
                        length: 10
                    },
                    radius: '105%',
                    data: data
                }
            ]
}

Other comments [其他信息]

@stale
Copy link

stale bot commented Apr 28, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Inactive for a long time. Will be closed in 7 days. label Apr 28, 2020
@stale stale bot closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

1 participant