Skip to content

SVGraph_Chart()

CapnOdin edited this page Jan 11, 2018 · 5 revisions

Instantiates the JS Chart object that most other SVGraph functions manipulates.

SVGraph_Chart(Width, Height [, Margin])

Parameters

Width

The width of the SVG element in pixels.

Height

The height of the SVG element in pixels.

Margin

The margin of the SVG element in pixels.

Note: To set the margin at the top, bottom, right and left independently see SVGraph_UpdateChart.

Remarks

This function is required to have been called prior to manipulation the axes and plots.

Example

; Instantiating the Chart object
Gui, Add, ActiveX, vIE, Shell.Explorer
SVGraph_Attach(IE)
SVGraph_Start()
SVGraph_Chart(Width := 700, Height := 365, Margin := 40)
Clone this wiki locally