How to draw real-time data in a specific canvas area?

Hello @cola,

Keep in mind what Serial.println() is sending from Arduino:
https://docs.arduino.cc/language-reference/en/functions/communication/serial/println/

It is much cleaner to do this on Arduino side as the terminating character:

Serial.print('\n'); // Sends only an ASCII line feed

And one less character to send and deal with on receiving end.

You may have to trim() those extra characters later before converting a String to a float or otherwise.
Sometimes the conversion method will trim whitespace for you but that is not always the case.

Keep this in mind for future!

References:

:)