Skip to content
CapnOdin edited this page Nov 6, 2016 · 3 revisions

How to use

After inclusion of SVGraph.ahk in a script the following sequence is needed before attempting to plot anything.

Gui, Add, ActiveX, vVarName, Shell.Explorer
SVGraph_Attach(VarName)
SVGraph_Start()
SVGraph_Chart(Width, Height, Margin)

You'll probably want to set the axes and grid as well, however this is optional.

SVGraph_SetAxes(xmin, xmax, ymin, ymax, Boxed)
SVGraph_SetGrid(xory, Major, Minor, Colour, Dasharray)