Hello community,
I am using an ESP32 with a bluetooth connection to visualise data in a chart. I would like to reset the chart data at a certain point in time so that the chart starts visualising new data from the beginning. However, I have not yet managed to delete the old data. My initialisation of the chart looks like this:
sendMsg("|CH UID:Current_Chart X:50 Y:82.5 W:90 H:30 VIS:1 CHN:\"Current [A]\" YLO:0 YHI:40 FSZ:2 XMA:8 YMA:6\r\n");
Before the chart reset i continuously send the new measurements every second with the following command :
string str = "@Current_Chart YP:" + String(BatCurrent) + "\n\r";
sendMsg(str);
Does anyone have an idea how I can reset the chart so that the new data is plotted from the beginning again? Thank you in advance for your support and best regards.
Fehr