Unofficial Nextion/TJC User Forum

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?


This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).