Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

做K线图时候遇到问题。我想在k线条实时添加数据,实时添加时我往前拉数据他会给我闪回来 #42

Open
njwl434 opened this issue Jul 11, 2017 · 4 comments

Comments

@njwl434
Copy link

njwl434 commented Jul 11, 2017

做K线图时候遇到问题。我想在k线条实时添加数据,实时添加时我往前拉历史数据他会给我闪到当前的图里,而且当前这个片段图,想放大,没办法放大。求解决。

@AndroidJiang
Copy link
Owner

你每次刷新的时候,都move到最后一条数据并且缩放比都得重置了,所以你在刷新的时候,做个判断就行,如果是刷新,则不movetolast,也不进行重置缩放等配置

@njwl434
Copy link
Author

njwl434 commented Jul 11, 2017

好的,我试下

@njwl434
Copy link
Author

njwl434 commented Jul 11, 2017

每次刷新会闪回来,刚改了下这个问题还是不好使,如果有空帮帮忙加下我qq:1034905058,如果没时间就在这回下吧

@njwl434
Copy link
Author

njwl434 commented Jul 11, 2017

实时刷新有很多问题,y轴也会重新刷一下,不知道怎么解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants