I have already done most of the work, however I need someone to get an already existing program I've written to work and function.
The assignment is a simple line graph calculator that lets the user input 4 different points and upon clicking calculate displays the slope, y intercept, equation of the line, distance, angle in radians/degrees, and also graphs the line in front of the user, using a specific look and feel for the graph. I have attached both my code and the code given to us by our instructor that basically is supposed to make the graph. I have commented out the code by the instructor and left the code I wrote which is working. My code does all the calculations MINUS the graphing.
link to what the final product needs to look like, and my source code is attached. need this to be working and functional by tomorrow midnight.