c++ cli - C++ Plot a float variable, opposed to int, onto panel -


i have following code plots variables panel graphically.

point point1 = point(20, height); point point2 = point(20, 0); buffgraphics->drawline(system::drawing::pens::blue, point1, point2); 

however, test , want able plot float variables need build graph. how can plot float panel / represent one?

you should use pointf instead of point. drawline works , pointf accepts floats.


Comments