You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "KingGanZeng (via GitHub)" <gi...@apache.org> on 2023/02/02 07:45:07 UTC
[GitHub] [echarts] KingGanZeng opened a new issue, #18226: [Bug] v4中柱状图上配置markPoint并添加dataZoom后会有重叠
KingGanZeng opened a new issue, #18226:
URL: https://github.com/apache/echarts/issues/18226
### Version
4.9.0
### Link to Minimal Reproduction
https://codesandbox.io/s/echarts-bar-mark-zoom-puhcbz?file=/src/index.js
### Steps to Reproduce
see in link
### Current Behavior
markpoint点位重叠,缩放后应该隐藏的点集中在了图左右两端
### Expected Behavior
超出可视区域的点应该被隐藏
### Environment
_No response_
### 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
[GitHub] [echarts] echarts-bot[bot] commented on issue #18226: [Bug] v4中柱状图上配置markPoint并添加dataZoom后会有重叠
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18226:
URL: https://github.com/apache/echarts/issues/18226#issuecomment-1413283461
@KingGanZeng 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] In v4, there will be overlap after configuring markPoint and adding dataZoom on the histogram
**BODY**
### Version
4.9.0
### Link to Minimal Reproduction
https://codesandbox.io/s/echarts-bar-mark-zoom-puhcbz?file=/src/index.js
### Steps to Reproduce
see in link
### Current Behavior
The markpoint points overlap, and the points that should be hidden after zooming are concentrated on the left and right ends of the graph
### Expected Behavior
Points outside the visible area should be hidden
### Environment
_No response_
### 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
[GitHub] [echarts] KingGanZeng commented on issue #18226: [Bug] v4中柱状图上配置markPoint并添加dataZoom后会有重叠
Posted by "KingGanZeng (via GitHub)" <gi...@apache.org>.
KingGanZeng commented on issue #18226:
URL: https://github.com/apache/echarts/issues/18226#issuecomment-1415339429
> Yes, seems like a bug. As a workaround, consider using a second series type _scatter_, instead of _markPoint_.
Thank you. That's really a good solution. Inspired by you, I added a second series type _line_ with emty data and added markPoint on it, which can also solve this bug.
Here is the series:
```
series: [
{
name: "蒸发量",
type: "bar",
data: [
2.0,
4.9,
7.0,
23.2,
25.6,
76.7,
135.6,
162.2,
32.6,
20.0,
6.4,
3.3
],
},
{
name: '',
type: 'line',
data:[],
markPoint: {
silent: true,
symbolSize: 6,
symbol: "circle",
label: {
show: true,
position: "top",
distance: 6,
lineHeight: 14,
fontSize: 10
},
data: [
{
xAxis: "1月",
y: "16%",
value: "下元节",
itemStyle: {
color: "#F1263E"
},
label: {
color: "#F1263E"
}
},
{
xAxis: "3月",
y: "16%",
value: "光棍节",
itemStyle: {
color: "#F1263E"
},
label: {
color: "#F1263E"
}
},
{
xAxis: "12月",
y: "16%",
value: "感恩节",
itemStyle: {
color: "#F1263E"
},
label: {
color: "#F1263E"
}
}
]
}
}
]
```
--
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
[GitHub] [echarts] helgasoft commented on issue #18226: [Bug] v4中柱状图上配置markPoint并添加dataZoom后会有重叠
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18226:
URL: https://github.com/apache/echarts/issues/18226#issuecomment-1414445209
Yes, seems like a bug.
As a workaround, consider using a second series type _scatter_, instead of _markPoint_.
--
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
[GitHub] [echarts] KingGanZeng closed issue #18226: [Bug] v4中柱状图上配置markPoint并添加dataZoom后会有重叠
Posted by "KingGanZeng (via GitHub)" <gi...@apache.org>.
KingGanZeng closed issue #18226: [Bug] v4中柱状图上配置markPoint并添加dataZoom后会有重叠
URL: https://github.com/apache/echarts/issues/18226
--
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