Skip to content
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

fix(legend): legend.inset.anchor is working again #1936

Closed
wants to merge 1 commit into from

Conversation

michkami
Copy link
Collaborator

@michkami michkami commented Feb 9, 2021

Issue

#1935

Details

Refactored getCurrentPaddingRight(withoutTickTextOverflow = false) to getCurrentPaddingRight(withXAxisTickTextOverflow = false).
From now on, if getCurrentPaddingRight() is called without passing parameters xAxisTickOverflow will be 0 and getXAxisTickTextY2Overflow() will only be called when x axis ticks autorotate is enabled.

Refactored 'getCurrentPaddingRight(withoutTickTextOverflow = false)' to
'getCurrentPaddingRight(withXAxisTickTextOverflow = false)'.
From now on, if 'getCurrentPaddingRight()' is called without passing parameters
'xAxisTickOverflow' will be 0 and 'getXAxisTickTextY2Overflow()' will only be called
when autorotate x axis ticks is enabled.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.237% when pulling 7123755 on HKSInformatik:issue/1935 into 984404a on naver:master.

@netil netil added the bug label Feb 9, 2021
@netil netil closed this in b5ba930 Feb 10, 2021
@netil
Copy link
Member

netil commented Feb 10, 2021

@michkami thanks for the fix!

github-actions bot pushed a commit that referenced this pull request Feb 16, 2021
## [2.2.3](2.2.2...2.2.3) (2021-02-16)

### Bug Fixes

* **api:** fix loading area-line-range ([fe46492](fe46492)), closes [#1938](#1938)
* **legend:** legend.inset.anchor is working again ([b5ba930](b5ba930)), closes [#1935](#1935) [#1936](#1936)
github-actions bot pushed a commit that referenced this pull request Mar 5, 2021
# [3.0.0-next.2](3.0.0-next.1...3.0.0-next.2) (2021-03-05)

### Bug Fixes

* **api:** fix loading area-line-range ([fe46492](fe46492)), closes [#1938](#1938)
* **legend:** fix hiding via .hide() ([c489a77](c489a77)), closes [#1950](#1950)
* **legend:** legend.inset.anchor is working again ([b5ba930](b5ba930)), closes [#1935](#1935) [#1936](#1936)
* **zoom:** fix x Axis tick transition during zoom ([3f08b11](3f08b11)), closes [#1949](#1949)

### Features

* **candlestick:** Intent to ship candlestick ([8d37bd8](8d37bd8)), closes [#76](#76) [#1167](#1167)
* **candlestick:** Intent to ship candlestick type ([42307cb](42307cb))
@michkami michkami deleted the issue/1935 branch December 21, 2023 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants