-
Notifications
You must be signed in to change notification settings - Fork 19.8k
fix(axisPointer): always show for connected charts with null values #21069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! Document changes are required in this PR. Please also make a PR to apache/echarts-doc for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the |
Ovilia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding axisPointer.alwaysShowContent as tooltip.alwaysShowContent.
1f4e151 to
ad5f4f2
Compare
Thanks for the feedback! This is fixed now to be |
ad5f4f2 to
bfcead5
Compare
|
Hi @Ovilia, Thanks! |
Brief Information
This pull request is in the type of:
What does this PR do?
Add
axisPointer.alwaysShowContent: trueoption to force axisPointer to show when charts are connected. A common case is for all time series charts on a dashboard to share an xAxis axisPointer to correlate across charts when hovering. Currently this does not work if series data is aligned differently / has null values, the axisPointer flickers instead of showing at the correct timestampFixed issues
Details
Before: What was the problem?
Inconsistent display of axisPointer for charts using 'connect':
before_connect_always_fix.mov
After: How does it behave after the fixing?
axisPointer always shows on all connected charts:
after_connect_always_fix.mov
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