in my new project i want to draw the history usage of memory and history usage of CPU just like the below image
but i cant make it i tried to use the gm function
draw_point(x,y) Draws a point at (x,y) draw_line(x1,y1,x2,y2) draw_line_width(x1,y1,x2,y2,w)
but it doesn't work,can anyone make a simple gmk or just a script that work like below image

thanks!











