Created
October 3, 2022 13:43
-
-
Save PaulieScanlon/f00ace33dedd11480e924e24774e6ef8 to your computer and use it in GitHub Desktop.
Creating the Y Coordinate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const y = chartHeight - offsetY - (total / maxY) * (chartHeight - (paddingY + offsetY)) - paddingY + offsetY; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment