Graphing a Variable

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ThreeSpark

I have a variable that goes up and down, I want to put a graph in the upper right corner that graphs the variable. How would I go about doing that?

:bust_in_silhouette: Reply From: kidscancode

A Line2D would work well for this. Use the points property to add/remove your data points.