Repository navigation
feat(axis): support tooltip for axis label - #16315
Conversation
|
Thanks for your contribution! The pull request is marked to be |
|
ๆไนไฝฟ็จๅข๏ผ |
|
@Thj007 ๅฏไปฅๅ่ PR ้้ๅ ็ๆต่ฏ็จไพ test/axisLabel.html |
Ovilia
left a comment
There was a problem hiding this comment.
Tried with the test case and it looks cool. LGTM
|
To reviewers: If this PR is going to be described in the changelog in the future release, please make sure this PR has one of the following labels: This message is shown because the PR description doesn't contain the document related template. |
|
@pissang Please double-click this PR. @plainheart I think a new option is probably required? Please check the "The API has been changed" and prepare the document later. |
|
ๆๅพ ็ๅฐ่ฏฅๅ่ฝ็ๅๅนถ๏ผ |
|
Please, let's do it! We have the same requirement about tooltip on Axis label only whey they are overflowed. Thanks! |
โฆ can be used in the upper program like echarts tooltip, as required by apache/echarts#16315 .
155653f to
8f7773c
Compare
|
Congratulations! Your PR has been merged. Thanks for your contribution! ๐ |
|
is this feature live? Can't seem to find it in the docs |
Brief Information
This pull request is in the type of:
What does this PR do?
Support tooltip for the axis label. It's useful for the case in which the axis label is truncated for long text and hope to show the full text when hovering on the label.
Fixed issues
Details
Before: What was the problem?
No tooltip for showing the full text of a truncated axis label. The developer has to simulate a tooltip via listening to the mouse event like https://codepen.io/plainheart/pen/jOGBrmJ.
After: How is it fixed in this PR?
Misc
Related test cases or examples to use the new APIs
Please refer to the last test case in
test/axisLabel.html.Others
Merging options
Other information