Unofficial Nextion/TJC User Forum

How to draw a graph y=f(x)

Hi to all
I would know if it is possibile to draw/plot a graph of a function y=f(x) where x is not time.
I looked for examples, but I see that waveform only receives y not x values ( in the pic. GRAH A).
Instead I want to send values of x and y (couple of values) where the value of x varies, for example, from 0 to 50 and then from 50 to 0 and y varies accordingly value x, as shown in GRAPH B .
Have you some suggestion how to solve this problem?

nextion400

There has been, some time ago, a blog article on the Nextion website, covering this:


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).