amchart5의 chart_type을 변경한다.
Parameters | Type | Description |
---|---|---|
nChartType | short | chart_type 속성값(1~8 사이의 정수값) |
Type | Description |
---|---|
BOOL | 정상 여부 |
* nChartType 파라미터 1: XY 2: Pie 3: Radar 4: Map 5: Hierarchy 6: Flow 7: Word cloud 8: Venn diagram 9: Stock * 설정된 차트에 대한 라이브러리 로딩 작업이 수행되며, 로딩 완료시 on_libload 이벤트가 발생한다. * 해당 API 호출시 내부적으로 dispose API가 호출되어 차트를 완전히 삭제한 후 다시 생성한다.
function btn_on_mouseup(objInst)
{
var result = am.setcharttype(1);
screen.alert("result = " + result);
}