Interesting use case, do you have the server part as well ? I mean how do you publish the sensor data from Raspberry.
Btw, If you really want that I'll do a look why gesture is not working for you, you should open a ticket in my AndroidChart repo, I do not maintain dead MPAndroidChart