Creating Line Chart in Unity3D

I wanted to create a basic Line Chart like this in Unity 3D:

I know there are many tools but I cant decide which to choose. The chart can be displayed in 2D in Unity 3D or as 3D. I also want to input live data in the chart so that the line continually actualizes. Is there any tool (Library, free Assets etc.) for that to make that happen? I am new to Unity so please dont be that harsh on me :slight_smile:
Thanks in Advance

Please provide examples. Which did you tried?

Have you checked Asset Store?
There is few free ones, you could try.

You can do this with a line renderer. You just assign horizontal points based on the resolution you want and calculate their positions based on a value from an array or list or whatever.

1 Like

Yes I have checked most of them are either too old and werent actualized, maybe I did not search right but do you some recommendations?

Can I actualize the line so that I get live data and the graph is coninually changing?

Update the lineRenderer in the Update function or use InvokeRepeating and it will be as live as you want it to be.

Simplest solution is to use line rendered but you can also generate UI mesh runtime to create line

Doe it mean they donโ€™t work?
Which one you tried?
I donโ€™t think you tried them.
You can download each of them and test if works for you. If they for free, you have nothing to loose.

Or learn how to use line renderer, as posters above suggested.