apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

fix(AxisPointer): Correct alignment for rich text tooltip labels #20524

Open geertplaisier opened 2 days ago

geertplaisier commented 2 days ago

Brief Information

This pull request is in the type of:

What does this PR do?

Fixes the alignment for axisPointer rich labels

Fixed issues

Details

Before: What was the problem?

The alignment for rich text tooltip labels are incorrect, not in the center

After: How does it behave after the fixing?

The alignment for rich text tooltip labels are now correctly centered

Document Info

One of the following should be checked.

Misc

ZRender Changes

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

Other information

echarts-bot[bot] commented 2 days ago

Thanks for your contribution! The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.