Do you really need to plot X VERSUS Y, or do you just want to graph two channels of data?
If #1, then you will need to enclose your code (in LV, the block diagram IS the code) in a while loop and use shift registers with the build array function concatinating the data on each iteration. The continously updating arrays are then wired to the graph.
If #2, then a waveform chart would be more appropriate. You can just wire the floats into a chart because it stores a history of data points.
In either case check out some of the shipped examples for charts. Help>find examples> Building User Interfaces>Displaying Data>Graphs and Charts.
I would also suggest you look for the LabVIEW style guidlines tutorials (search the forum) because your code is making me hungry... FOR SPAGETTI!

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019