Android Question how to create a graph in b4a

gpolvorin

New Member
Hello, mi name is Gonzalo. I am new in B4A. I started to use it because I am doing a college proyect.
I need to receive data from the bluetooth and plot it, but not in a normal line graph. The data received from the bluetooth have this form: y;c;x
Where "y" and "x" are the coordenates, and "c" is a color code for each pixel. For each value of "x" I have 15 or 20 values of "y" and "c", i.e. I have something like this:
y1;c1;0
y2;c2;0
y3;c3;0
.
.
.
y20;c20;0
y1;c3;1
y2;c13;1
.
.
.
So I need to set a coordinate in "x" and plot one pixel at a time in the "y" coordinate, with diferents colors and once I finished, continue with the next coordinate of x.
Can anyone recomend me a library or a function to do that?

PS: I hope you can understand what I am saying and what I need. Sorry if my english is not good, I am a little rusty with me english

Thanks
 
Top