-
Notifications
You must be signed in to change notification settings - Fork 0
SVGraph_RemovePath()
CapnOdin edited this page Jan 11, 2018
·
7 revisions
Deletes the nth "Graph" in the SVG image.
SVGraph_RemovePath([index])
The index of the "Graph" to be deleted.
To delete the oldest use the index 0.
To delete the newest use the index -1.
Note: If left blank all "Graph"s will be deleted.
May be change to use the "id" instead of the index in the future.
; Removes the plot of the sinus curve
Gui, Add, ActiveX, vIE, Shell.Explorer
SVGraph_Attach(IE)
SVGraph_Start()
SVGraph_Chart(700, 365, 40)
SVGraph_SetAxes(-10, 10, -1, 1)
SVGraph_LinePlot("x", "Math.sin(x)", "#0000FF", 200)
SVGraph_RemovePath(0)