soeasyjx commented on issue #19617:
URL: https://github.com/apache/echarts/issues/19617#issuecomment-1947707789
> ```
> markPoint: {
> data: [{
> name: 'highest value', type: 'max',
> symbolOffset: ['50%', 0],
> label: {color: '#777777', position: 'right'}, ...
> },
> ```
>
>

📌 please close issue if problem solved. NB: debug and "how to" questions are
better posted on [stackoverflow](https://stackoverflow.com/search?q=echarts),
where
there are more volunteers to help.
按照上面的写法标识图形的位置就固定了。为了还原公司UI设计 ,标记图形的默认原始位置需要为:`symbolOffset: ['-50%', 0]`
只有当最大值/最小值刚好处于y轴边缘时才临时调整其位置为 `symbolOffset: ['50%', 0]`,否则标记位置为默认原始位置。。。。。
--
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]