You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "emotionl (via GitHub)" <gi...@apache.org> on 2023/11/10 04:54:05 UTC
[I] [Bug] 移动端 在点击饼图扇区的外围部分也会触发扇区的高亮 [echarts]
emotionl opened a new issue, #19286:
URL: https://github.com/apache/echarts/issues/19286
### Version
5.3.3
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=pie-doughnut&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWzQCGAtlsQOQCCAxuwRrAGI7B6zADRUKYAJ4gmsZiHwix6HLQAmEAK5FSzACwAGAKQjZAdiPMAuqOrpaAN2ARVAGVoAjLABsA8vdxetCDEAGa0Xtg2toGeXsSothQYABbAAO6h4ZFKsAC-UdRY9CDJtBgQ2gmJmOzhTGERWDn5OTHeLhDQMlWJKemZjc0FFKq0YLTEZNXIsPbhGjIAjPq6ABzCNAwyzADKWLQ47MmwAKLQAOadWMx5w9RIs_MypgDMAKwbdIwsACIQOFh2GAbi1pg85l4FsQ3qt9J8tiwTvRaBAvCC7hRwU9iGtdPDvrIAKrQKBwViqDDonLoLGQmQvfRwzYE5gANWcWGAsHJlLyOUsYly5AFuQA3EA
### Steps to Reproduce
点击扇区的外围部分触发扇区高亮
<img width="373" alt="image" src="https://github.com/apache/echarts/assets/17172758/7992cf06-6dc7-4bc6-ba43-541fdfcd409d">
### Current Behavior
在点击饼图扇区的外围部分也会触发扇区的高亮
### Expected Behavior
- 在点击饼图扇区的外围部分不会触发扇区的高亮
- 只在点击扇区本身在触发扇区的高亮
### Environment
```markdown
- OS: macOS Monterey
- Browser: 119.0.6045.105(正式版本) (x86_64)
- Framework: N/A
```
### Any additional comments?
_No response_
--
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.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
Re: [I] [Bug] 移动端 在点击饼图扇区的外围部分也会触发扇区的高亮 [echarts]
Posted by "emotionl (via GitHub)" <gi...@apache.org>.
emotionl commented on issue #19286:
URL: https://github.com/apache/echarts/issues/19286#issuecomment-1807535766
Thank you @plainheart ~
--
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
Re: [I] [Bug] 移动端 在点击饼图扇区的外围部分也会触发扇区的高亮 [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #19286: [Bug] 移动端 在点击饼图扇区的外围部分也会触发扇区的高亮
URL: https://github.com/apache/echarts/issues/19286
--
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
Re: [I] [Bug] 移动端 在点击饼图扇区的外围部分也会触发扇区的高亮 [echarts]
Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #19286:
URL: https://github.com/apache/echarts/issues/19286#issuecomment-1805320934
可能是因为 ECharts 默认在移动端开启了[智能指针吸附](https://echarts.apache.org/handbook/zh/how-to/interaction/coarse-pointer/),指针相应区域会稍有变大,以便于使用者点击。如果不希望这样,可以在 [`init`](https://echarts.apache.org/api.html#echarts.init)初始化图表时显式设置 `useCoarsePointer` 为 `false`。
--
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
Re: [I] [Bug] 移动端 在点击饼图扇区的外围部分也会触发扇区的高亮 [echarts]
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19286:
URL: https://github.com/apache/echarts/issues/19286#issuecomment-1805085667
@emotionl 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] Clicking on the outer part of a pie chart slice also triggers the highlight of the slice
**BODY**
### Version
5.3.3
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=pie-doughnut&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWzQCGAtlsQOQCCAxuwRrAGI7B6zADRUKYAJ4gmsZiHwix6HLQAmEAK5FSzACwAGAKQjZAdiPMAuqOrpaAN2ARVAGVoAjLABsA8vdxetCDEAGa0Xtg2toGeXsSothQYABbAAO6h4ZFKsAC-UdRY9CDJtBgQ2gmJmOzhTGERWDn5OTHeLhDQMlWJKemZjc0FFKq0YLTEZNXIsPbhGjIAjPq6ABzCNAwyzADKWLQ47MmwAKLQAOadWMx5w9RIs_MypgDMAKwbdIwsACIQOFh2GAbi1pg85l4FsQ3qt9J8tiwTvRaBAvCC7hRwU9iGtdPDvrIAKrQKBwViqDDonLoLGQmQvfRwzYE5gANWcWGAsHJlLyOUsYly5AFuQA3EA
### Steps to Reproduce
Clicking on the outer part of the sector triggers the sector highlighting
<img width="373" alt="image" src="https://github.com/apache/echarts/assets/17172758/7992cf06-6dc7-4bc6-ba43-541fdfcd409d">
### Current Behavior
Clicking on the outer part of a pie chart slice also triggers the highlighting of the slices
### Expected Behavior
- Clicking on the outer part of a pie chart slice does not trigger the highlight of the sector
- Only click on the sector itself in the trigger sector highlighted
### Environment
```markdown
- OS: macOS Monterey
- Browser: 119.0.6045.105 (x86_64)
- Framework: N/A
```
### 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