You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/05/18 03:21:48 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #17058: [Bug] echarts 饼图出现了锯齿
echarts-bot[bot] commented on issue #17058:
URL: https://github.com/apache/echarts/issues/17058#issuecomment-1129525105
@dbb1016606796 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] The echarts pie chart is jagged
**BODY**
### Version
5.3.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce

### Current Behavior

### Expected Behavior
It uses on-demand loading, uses svg rendering, the display resolution is 1920*1080, and the window.devicePixelRatio is 1
{
tooltip: {
backgroundColor: '#00296B',
borderColor: '#00296B',
textStyle: {
color: '#1ec4ff',
},
trigger: 'item',
formatter: (params: object | any) => {
const { name, value } = params
return `${name}: ${value}`
},
},
legend: {
bottom: 'bottom',
textStyle: {
color: '#1ec4ff',
},
pageIconColor: 'rgba(255,255,255,.6)',
pageTextStyle: {
color: 'rgba(255,255,255,.6)',
},
},
series: [
{
name: 'Work order analysis',
type: 'pie',
radius: ['50%', '70%'],
color,
bottom: '40px',
tooltip: {
trigger: 'item',
},
legend: {
orient: 'vertical',
bottom: 'bottom',
},
data:[{value:4,name:"name1"},{value:6,name:"name2"},{value:3,name:"name3"},{value:1,name:" name4"}]
},
],
}
### Environment
````markdown
- OS:
- Browser:
- Framework:
````
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org