Issue with Draw line of Canvas

I have an issue with draw canvas. When I use this code the problem is the line is tilted to the to other side that means higher values take lower positions in my graph. I have tried flipping the y variables but the issue persists.

Any help is appreciated

It may be noted that coordinates in a canvas are counted from the top left corner of the canvas.

Any location on the Canvas can be specified as a pair of (X, Y) values, where

  • X is the number of pixels away from the left edge of the Canvas
  • Y is the number of pixels away from the top edge of the Canvas

Hope it helps :blush:

Thank you very much.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.