amCharts5 » Api

getroot

Description

차트의 root를 반환한다.

Return Value

Type Description
INSTANCE 차트의 root

Example

function btn_on_mouseup(objInst) { var root = am.getroot(); var chart = root.container.children.push( am5xy.XYChart.new(root, { panY: false, wheelY: "zoomX", layout: root.verticalLayout }) ); }

See Also

getexporting

Viewer Ver.

9.1.1.1

Update Date

20221220