react-native-echarts icon indicating copy to clipboard operation
react-native-echarts copied to clipboard

echarts的点击事件

Open wangchongwei opened this issue 8 years ago • 3 comments

echarts怎么设置点击事件可以获取点击点的坐标?

wangchongwei avatar Feb 23 '17 07:02 wangchongwei

@somonus Echarts的点击事件要怎么实现?我看renderCharts代码里没有绑定事件

fangjuncheng avatar Apr 05 '17 06:04 fangjuncheng

可以把源码复制到项目里通过webview的onMessage方法获取 @wangchongwei

fangjuncheng avatar Apr 09 '17 02:04 fangjuncheng

@wangchongwei 新版本已经支持了, <Echarts option={option} width={800} height={300} onPress={(data) => { // alert(data['name']); this.props.onClick(data); }}/>

drpang avatar May 03 '18 12:05 drpang