juijs / jui-chart

SVG-based JUI chart that can be used in the browser and Node.js. Support many types of charts. (Dashboard, Map, Topology, Full 3D, Realtime)
https://codepen.io/collection/nLydod/
57 stars 25 forks source link

topologyChart에서 axis(0).update() 사용 #168

Open hee0430 opened 6 years ago

hee0430 commented 6 years ago

topologyChart를 최초에 렌더링 한 후 topologyChart.axis(0).update(topologyChartData); 구문을 사용하여 데이터를 변경할때 , node의 수가 달라지면 오류가 발생합니다. 기존에 그려진 노드의 위치값을 가져와서 다시 그 자리에 그리는중에, 새로운 노드 데이터가 추가되면 위치값을 못가져와서 발생하는걸로 보입니다. 방법이 없을까요 ?

easylogic commented 6 years ago

@hee0430 이슈 확인 감사합니다.

@seogi1004 토폴로지 쪽 확인 좀 부탁드려요.

seogi1004 commented 6 years ago

스크립트 에러 로그랑 데이터 좀 올려주세용~

hee0430 commented 6 years ago

관련 내용을 파일로 첨부합니다 default

topology_chart_오류내용.txt

추가로 한가지 더 질문 드리자면 edgeData 를 변경하고싶을땐 어떻게 해야할까요?