Version
5.5.0
Link to Minimal Reproduction
Steps to Reproduce
Open the minimal reproduction link.
Current Behavior
The markpoint is still visible when it is out of the chart window.
Expected Behavior
The markpoint should not display when it is out of the chart window as the candle on the same x axis value.
Environment
- OS: MacOS Sonoma 14.2.1
- Browser: Chromium 122.0.6261.69
- Framework:
Any additional comments?
No response
7条答案
按热度按时间zphenhs41#
minimal repro has no markPoint.
markPoint works as intended - Demo .
📌 please close issue if problem solved.
cfh9epnr2#
Sorry, I paste a wrong link. Here is the correct reproduction link:
https://echarts.apache.org/examples/en/editor.html?c=candlestick-simple&code=MYewdgzgLgBApgQwE5gJZgOYRgXhgbQCgYYBvYkmMBAWzgC4YByABSYBoKSIBPGgIxAAbRkwAO6Dlxi8BwgMqoAXgxgAmAKydKMHqIAcABgCkUnQA8AgudQRRaw2oCMAWieGXagGxnKANwQhAFdVVl8SIQR-OBEyaRJQIRAkUQB3AAtUKDhwygAzcChFFUYnJ2kAX21KLLgaeSgeIVVyHQThZNEAeSQETBzqnRAxBGAsvRhDADoATkqKCsIAXQBuQkJhqFRwXDiSKxs7PcoAEwQoBEYiNuYHJwB2Nw81ABZckiY7x_dPDXfbwwPJ6eHyDSifQHfZ73f4QoE_NQwsEfO76YGvWGo9F_ZEApxohGg-J4gnQzGA0meJHEuEzdFvXG07Hkpx0wkstlkxl3TlU8kOen8jwInE0hwC9ncxzCrli6Xo6k3CHOQVSlUi_muSVy9WypXirVk6RLBbVM4XABaIBANCu0labUaYlC6AgqBOA2J0GQUEYM30uLgYBOpUMhlxNHQADVAiF5CMwKH5iQltUeNZbIxSFUKBA4EhUHAjtdKA6dE7QsA-idmtBUMAANb_c2XAjEkj4BzsGAAZhe3fc3Z7-lT7YIL3Dva0vcnGkMo5uHZ7TiHAd7Pe7LxeC8X-GHA-n05eah3Nz3a6ch83J9xHa7vf7MEHvZHt_Hk57057s_nb73K5fIcNxgLdTzac8D27I8bzHCCnyvECYMXAh7z7AcP1fWCJyHL8fzAnR_1XIDN23P993gqDr3wyg4MvSjEOou8P0fZ9h0Y98cKHPCyIA8ie2A0CyIvBDj3Y2iRKQ3dUJYjCxOwqcuKg39YOXIj1xIsTyLomBoM04T6NE4lqJoZAGxYEB0F9Y4bhbRhEBQdAsGJRYdBcmATQqFYgA
6mzjoqzu3#
use yAxis instead of y in markPoint.data and it will be fine
📌 please close issue if problem solved.
pinkon5k4#
By using yAxis, the markpoint won't have a fixed y-axis position. When using with
scale: true
the markpoint move with the y axis value. My requirement is to have the markpoint at a fixed y-axis position.js4nwp545#
My requirement is to have the markpoint at a fixed y-axis position.
I couldn't have guessed that... Try
grid: {right:0},
izj3ouym6#
That is an interesting hack but it won't work because there is the same behavior on the left side of the chart.
7rtdyuoh7#
yes, no clean workarounds. It is a bug and it has to be fixed.