Instead using function print() I used function text() but sensor values ??were recorded one over the another. So in time there you couldn't see nothing.
The last two arguments to the text() function define where to place the text. You use the same y value for all the text, changing only x, Clearly, you are not changing x by a large enough increment.
I'll be very grateful if someone could help me to solve the problem
What is the problem?
You have code that draw one line on a graph. You have other code that takes a stream of data, splits it into discrete values, and prints the values.
Combine the two, and draw 8 lines, in different colors, of course.