Graph Panel - how to group the data into separate lines

Hello !
My data source is MySql.

My table look something like that
image

I want each person will have a separate line in the graph

image

I tried to use series, but I failed… (I’m not sure what is the use of it…)

the only way I succeed was to change the table format to
image

but it is not a good solution cause the number of person is changing all the time…

Can someone help me?

Thank you!