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/11/03 06:51:40 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #17867: [Bug] The pie chart is set at the same time Series.label.fontsize and Series.emPhasis.label.fontsize. When the mouse moves to the graphic, it will cause rendering abnormalities
echarts-bot[bot] commented on issue #17867:
URL: https://github.com/apache/echarts/issues/17867#issuecomment-1301708123
@Femoon 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>
**BODY**
### Version
5.4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
````
option = {
color: ['#FFBF53', '#04B1C2', '#F07474', '#C55784', '#9A5FB3'],
legend: {
show: true,
data: [
'Jiangsu Province',
'Inner Mongolia Autonomous Region',
'Qinghai Province',
'Hunan Province',
'Shandong Province',
'Anhui Province',
'Yunnan Province',
],
},
series: [
{
type: 'pie',
data: [
{
name: 'Jiangsu Province',
value: '1111'
},
{
name: 'Inner Mongolia Autonomous Region',
value: '2222'
},
{
name: 'Qinghai Province',
value: '1121'
},
{
name: 'Hunan Province',
value: '3456'
},
{
name: 'Shandong Province',
value: '5678'
},
{
name: 'Anhui Province',
value: '8789'
},
{
name: 'Yunnan Province',
value: '600'
},
],
label: {
show: true,
fontSize: '10',
},
emphasis: {
label: {
show: true,
fontSize: '20',
}
}
}
],
};
````
Move the mouse to the graphic, display highlight label
### Current Behavior
The pie chart is set at the same time series.label.fontsize and Series.emPhasis.label.fontsize. The highlight label when the mouse moves to the graphic is abnormally enlarged.
This behavior seems to only appear after the version of 5.2.2
<img width="968" alt="image" src="https://user-images.githubusercontent.com/23479787/199661836-a5190cbc-807e-467b-8c8f-fbcc3351d5f7.png">
### Expected Behavior
The pie chart is set at the same time series.label.fontsize and Series.emPhasis.label.fontsize. The highlight label can be displayed normally
### 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