I already found the solution for that.
thanks. but i do have this other problem

currently, when I graph this.
it look like this. image 1
but i want to do this automatically. is it possible to do so? like this. image 2
if so, does anyone have any suggestions?
Best regards,
Krispiekream