How to plot curve and display on LCD

May I know how can I plot the curve with the x and y-axis with the values that I read from the current sensor and voltage divider. And I need to display my graph on the Nextion LCD. I didn’t find the curve graph in nextion’s editor, so I chose a different LCD from STONE, which has control for curve graphs, I am quite confused about this. Maybe I was careless and didn’t see it? Can someone help me?


The image shows the curve control of STONE’s editor.

On Nextion, you have the waveform component in the toolbox. It allows to draw up to 8 y data curves on a common x (or t) axis. If that doesn’t satisfy your needs, you can draw more complex curves with a few GUI commands as shown in the following blog post:

Thank you so much for your reply, this article helped me a lot! This problem has been bothering me for many days and now there is a feeling of relief.

1 Like

I did auto scaling for wawe from compent if interested…
GitHub - jyberg/Enhanced-Nextion-Library: Enhanced Nextion library for Arduino, NodeMcu, Esp8266,...

This looks cool and I think I’d be interested in trying it out.

I thought you could only have four lines on the graph. How can access all eight?

I had the same problem recently and I’m trying to fix it

I think you can choose TFT LCD. I’ve used it before. It’s really good