sverbach opened a new issue, #17162: URL: https://github.com/apache/echarts/issues/17162
### Version 5.3.2 ### Link to Minimal Reproduction https://codepen.io/sverbach2/pen/PoQByvW ### Steps to Reproduce 1. Load the codepen 2. Search for the label "I should have x-offset" in the chart 3. This label should have an offset of 30px, but none is applied Note that issue only seems to appear when using vertical marklines, I do not encounter this issue on horizontal nor 2d-marklines. ### Current Behavior X-value of the `distance` property is not applied when using vertical marklines. E.g. `distance: [30, 10]` applies a 10px y-margin but 0px x-margin. ### Expected Behavior I would expect to be able to apply x- and y-distance on my markline labels. E.g. `distance: [30, 10]` applies a 10px y-margin and 30px x-margin. ### Environment ```markdown - OS: Windows 11, Windows 10 - Browser: Brave 1.39.111, Chrome 102.0.5005.63, Firefox 101.0, - Framework: None ``` ### Any additional comments? When using any other type of marklines (other than vertical ones), this bug will not occur. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
