I able to display the graph. but, the graph just a simple graph. without x-axis & y-axis label. so, how would i to adjust the program so that it comes out with x-axis & y-axis label. is it possible for me to put the x-axis & y-axis label together with the value? here are the files i attached together.
It is possible. Rather than drawing lines from 0 in y to the required height, you need to reserve the area from y=0 to y=some value for the labels, and from that value to the top of the window for the data. That will require that you change how the top of the line is drawn, too.
Similarly, reserve the area from x=0 to x=some value for the labels on the left.