Skip to content

SVGraph_SetLables()

CapnOdin edited this page Jan 11, 2018 · 3 revisions

Sets the axis labels.

SVGraph_SetLables([xLable, yLable])

Parameters

xLable

A string that will become the lable of the x-axis.

Note: If left blank the value will remain unchanged.

yLable

A string that will become the lable of the y-axis.

Note: If left blank the value will remain unchanged.

Remarks

To remove a lable set the corresponding parameter to a space i.e. " ".

Example

; Set labels
Gui, Add, ActiveX, vIE, Shell.Explorer
SVGraph_Attach(IE)
SVGraph_Start()
SVGraph_Chart(700, 365, 40)
SVGraph_SetAxes(-10, 10, -1, 1)
SVGraph_SetLables("X-Lable", "Y-Lable")
Clone this wiki locally