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

drawchart event for finish loading? #28

Closed
rursache opened this issue Jun 22, 2017 · 2 comments
Closed

drawchart event for finish loading? #28

rursache opened this issue Jun 22, 2017 · 2 comments

Comments

@rursache
Copy link

i need to notify the user that the chart is loading and when finished, how can i do that?

@AAChartModel
Copy link
Owner

AAChartModel commented Jun 24, 2017

Thanks for your question! I think this is what you want

/****************************delegate method***************************************/
@protocol AAChartViewDidFinishLoadDelegate<NSObject>
- (void)AAChartViewDidFinishLoad;//the delegate method of finish loading
@end
/****************************delegate method***************************************/

@interface AAChartView : AAWebView<AAWebViewDelegate>

@property (nonatomic, weak)   id<AAChartViewDidFinishLoadDelegate>delegate;

@property (nonatomic, assign) CGFloat contentWidth;//content width of AAChartView
@property (nonatomic, assign) CGFloat contentHeight;//content height of AAChartView

- (void)aa_drawChartWithChartModel:(AAChartModel *)chartModel;//function of drawing chart view
- (void)aa_refreshChartWithChartModel:(AAChartModel *)chartModel;//function of refreshing chart view
@end

@AAChartModel
Copy link
Owner

NOTE:If you want to use this function ,you need to update the project of AAChartView to the latest code,Please !

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