차트에서 메서드를 불러올 수 있습니까? 예 :반응 구성 요소에 대한 메서드 호출 방법 (Amcharts-React)
chart.zoomOut()
차트 개체의 핸들을 찾는 데 어려움을 겪고 있습니다. 차트를 렌더링하려면 내가 사용
ch = this.refs[`chart_${this.props.tileid}`]
을하지만 '채널'객체 :
<AmCharts ref={`chart_${this.props.tileid}`} {...this.chart} dataProvider={this.props.data} />
https://github.com/amcharts/amcharts3-react
가 나는 이러한 방법을 통해 액세스 할 수 있는지 확인하기 위해 요소를 검사하기 위해 노력 언급 된 방법 중 하나를 찾을 수없는 것 같습니다. https://docs.amcharts.com/3/javascriptcharts/AmSerialChart#zoomOut
어떻게 하나의 referenc 그것에 대한 방법을 불러 일으키는 요소?