I want to draw a graph based on some input data. So for the graph scale, I am dividing the screen width and screen height by the maximum x value and maximum y value. If I use canvas.height or canvas.width it gets zero for canvas height and canvas width and so errors out. If I use screen1.height or screen1.width, it is not drawing the x or yaxis. This program has multiple screens to connect to wifi and get data. In the attached file, I have removed those extraneous material to test the graph portion. So when I call the canvas, I set canvas.visible to true. I thought canvas.width should return the width of the screen. Is there a bug? Also, in the attached, what is wrong? Why is it not drawing the x and y axes?