ReactJS 데모의 EditableAnnotationLayer이 궁금합니다
페이지 정보
작성자 gmpark
본문
관련링크
https://demo.mescius.co.kr/wijmo/learn-wijmo/Chart/Features/EditableAnnotations/react
이 데모에는 EditableAnnotationLayer 이라는 요소를 import해서 사용하는데 소스가 없네요. 위즈모에서 공식 제공하는 라이브러리도 아닌 것 같고요
1) EditableAnnotationLayer의 소스를 알려주시거나,
wjChartAnnotation.FlexChartAnnotationLayer에 주석을 동적으로 추가하는 방법을 알려주세요. 아래와 같이 annotations라는 state를 만들고 동적으로 하려는데 잘 안됩니다.
<wjChartAnnotation.FlexChartAnnotationLayer> { annotations.map(a => (<wjChartAnnotation.FlexChartAnnotation type='Rectangle' point={{x: a.x, y: a.y}} content={a.content}/>)) } </wjChartAnnotation.FlexChartAnnotationLayer>
2) 생성하는 주석에 div, JSX Element 등 삽입이 가능한가요? content=`<input type='text'/>` 식으로 넣었는데 안됩니다.
댓글목록
등록된 댓글이 없습니다.