codTango

Results comments of codTango

@onlinelemon @yesmeck I'm wondering what will be the plan and ETA?

@pissang @kener any input on this? I just have the same requirements here? or any alternative?

尝试了用datazoom event 运行一个callback function,但是取回新数据后echarts会抛出一个```'findHover' of null``` 错误在TooltipView.js 425行。 @pissang 有没有解决办法?

代码量太大,我截取相关的部分,这个EchartsBaseChart 是个echarts wrapper. ``` ``` ``` handleZoom = (batch, instance) => { instance.dispatchAction({ type: 'hideTip' }); // fetch data this.setState(newData); } ``` batch 包含start/end values, instance返回echartsInstance。目前发现这个问题由tooltip引起,在重新render之前需要隐藏tooltip。

dispose后dispatchAction会出现这种情况么?应该没有,用的是https://github.com/hustcc/echarts-for-react. 这个就是直接用的这个react wrapper,然后直接传入的上面的option,只不过我的数据量比较大,在Zoom之后需要refetch新的数据rerender了。看了代码之后发现TooltipView里好像每次Zoom后会rerender tooltip,但是在422行,`api.getZr().handler`,这个handler是null 。

哈哈,还真是。。。仔细看了一下那个react wrapper,每次有新的数据传入都会dispose。谢谢啦。

@100pah 我没看懂这个怎么用 有没有example啊?

大数据量时,用tooltip特别卡, 有什么解决办法么?而且更大量的数据呢?我的数据峰值可以达到600万。

@pissang 可是你文档上面就是这样写的啊 - http://echarts.baidu.com/option.html#yAxis.min