You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by jia wang <wa...@itiger.com> on 2019/09/19 11:31:07 UTC

关于ECharts的K线图的一些问题咨询

hi~

ECharts的开发哥哥姐姐们,你们好!
我叫王佳,是一名前端开发工程师,目前使用咱们的ECharts做一些K线的展示。
想咨询一个问题,目前的K线图是否支持查看翻页?比如首屏加载500条数据,用户往左拉到尽头时,可以请求接口,加载出更多的数据。
这样的场景怎么实现呢?目前在咱们的Api和Demo里没看到类似的实现。

期待您的回复~谢谢!








王佳 (前端工程师)

联系电话:+86 186 182 39312

联系地址:北京市朝阳区太阳宫中路16号院1号楼冠捷大厦18层

邮编:100028


Re: 关于ECharts的K线图的一些问题咨询

Posted by Yi Shen <sh...@gmail.com>.
Hi.

We encourage to use English in mailing list for others to get involved and
help you solve your problem better.

I google translated the main part:

I am using our ECharts to do some K-line demonstrations.
> I would like to ask a question. Does the current K-line chart support
> viewing page turning? For example, when the first screen loads 500 pieces
> of data, when the user pulls to the left, the interface can be requested to
> load more data.
> How to implement such a scenario? I have not seen a similar implementation
> in our Api and Demo.
>
> Looking forward to your reply~ Thank you!
>

There is no builtin `pull to refresh` function. You can find some other
library to listen to the `pull to refresh` event and use ECharts
`setOption` API to update the data.

Best regards.

jia wang <wa...@itiger.com> 于2019年9月19日周四 下午11:52写道:

> hi~
>
> ECharts的开发哥哥姐姐们,你们好!
> 我叫王佳,是一名前端开发工程师,目前使用咱们的ECharts做一些K线的展示。
> 想咨询一个问题,目前的K线图是否支持查看翻页?比如首屏加载500条数据,用户往左拉到尽头时,可以请求接口,加载出更多的数据。
> 这样的场景怎么实现呢?目前在咱们的Api和Demo里没看到类似的实现。
>
> 期待您的回复~谢谢!
>
>
>
>
>
>
>
>
> 王佳 (前端工程师)
>
> 联系电话:+86 186 182 39312
>
> 联系地址:北京市朝阳区太阳宫中路16号院1号楼冠捷大厦18层
>
> 邮编:100028
>
>

-- 
Yi Shen
Senior Developer
Baidu, Inc.