Detecting when data is finished loading when loading asynchronously


#1

I am trying to figure out if there is a way to detect when data is finished loading when loading the data asynchronously. (Using loadDataInBackground to YES.) I need to detect when the data is fnished loading becase I position annotations on a different graph based on the results. When using the synchronous dataload method, I have used - (void)sChartRenderFinished:(ShinobiChart *)chart to detect when dataload is done. However, this does not work for me now.

Any pointers? 

Thanks, 


#2

Hey Mk,

If you’re interested in hooking into notifications about the chart’s loading events then you should implement the loading delegate methods:

  • – sChartWillStartLoadingData: – sChartDidFinishLoadingData:

Jan