Hi Team,
I am doing an application using realtime value and i need to display them in a way of a seismograph, meaning I have a needle on the right "following" the actual value, and the strokePath goes from right to left.
My logic was to initiate the subpath with the first value, and then translate the path by a fixed speed value when I receive a new value (and I would display the sample value on the Y axis).
My issue is that the application draws from left to right, how can I make the new value to always appears on the right of the stroke path, plus having all the values translate to the left when a new value happen ? (to make this effect, in other words : https://www.youtube.com/watch?v=jNL0FITZiKI)
Edit : I found something similar to what I want but it use a Canvas and I cannot use this in my application : https://ask.embedded-wizard.de/389/examples_mosaic20-solardemo_fantactic