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: reverse array when maxValue < absMinValue #306

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

silvestrevivo
Copy link
Contributor

Explanation About What Code Achieves:

When absMinValue is higher than the absMaxValue, the Y-axis is displayed reversed. This PR wants to fix that issue.

Screenshots/GIFs:

This is the initial state
Schermafbeelding 2020-08-30 om 20 57 29
This is after fixing the code:
Schermafbeelding 2020-08-30 om 21 16 27

@scmmishra
Copy link
Contributor

Approved this PR, will make a release this weekend

@scmmishra scmmishra merged commit 6e687cd into frappe:master Sep 16, 2020
@RoccoHoward
Copy link

@silvestrevivo Thankyou sooo much for sorting this out. It's been driving me crazy for awhile and was extremely happy to see this update.

Thankyou @scmmishra for all that you do.

@scmmishra scmmishra changed the title reverse array when maxValue < absMinValue fix: reverse array when maxValue < absMinValue Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants