Solved!
After the problems with sending strings I decided to send structs:
typedef struct data_point {
int x_val;
int y_val;
} data_point;
I have used this library to make the GTK-Chart:
First result looks quiet good:
THX for your help especially @ian-abbott