apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.53k stars 19.61k forks source link

SVG render bug in gauge #12808

Closed ChouJoe closed 2 years ago

ChouJoe commented 4 years ago

Version

4.8.0

Steps to reproduce

when using svg render, it seems some properties of series.gauge.detail dont working anymore, forexample, i set the detail below:

detail:{                  
    backgroundColor: 'rgba(30,144,255,0.8)',
    borderWidth: 1,
    borderColor: '#fff',
    shadowColor: '#fff',
    shadowBlur: 5,
    offsetCenter: [0, '50%'],
    textStyle: {
        fontWeight: 'bolder',
        color: '#eee'
    }                        
}

it is working in canvas but not in svg

What is expected?

企业微信截图_15922861301673

What is actually happening?

企业微信截图_15922862665919 it doesnt working in svg, but good in canvas


when using svg render, it seems some of series.detail properties dont working

echarts-bot[bot] commented 4 years ago

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.

If you are interested in the project, you may also subscribe our mail list.

Have a nice day! 🍵

plainheart commented 4 years ago

Currently, some of rich label text properties are not supported by svg renderer.