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

数据动态新增和滚动更新 #729

Closed
AAChartModel opened this issue Sep 17, 2019 · 1 comment
Closed

数据动态新增和滚动更新 #729

AAChartModel opened this issue Sep 17, 2019 · 1 comment

Comments

@AAChartModel
Copy link
Owner

同时带有流畅丝滑的动画效果

@AAChartModel
Copy link
Owner Author

AAChartView 添加动态增加数据的实例方法

- (void)aa_updateChartWithOptions:(NSObject *)options redraw:(BOOL)redraw;

- (void)aa_addPointToChartSeriesWithSeriesElementIndex:(unsigned int)elementIndex
                                               options:(NSObject *)options;

- (void)aa_addPointToChartSeriesWithSeriesElementIndex:(unsigned int)elementIndex
                                               options:(NSObject *)options
                                                 shift:(BOOL)shift;

- (void)aa_addPointToChartSeriesWithSeriesElementIndex:(unsigned int)elementIndex
                                               options:(NSObject *)options
                                                redraw:(BOOL)redraw
                                                 shift:(BOOL)shift
                                             animation:(BOOL)animation;

方法参数参见: https://api.highcharts.com.cn/highcharts#Series.addPoint

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

No branches or pull requests

1 participant