My program draw mulitple charts and grids.So, it takes many time to finish them.Now I try to show the finish time through the progress bar.But I can't do that..Because I don't know the exact time or event when the igchart and iggrid is drawn.
1.Let me know the finish time or event when the igchart and iggrid is drawn respectively.
2.Is there a waiting bar function until the igchart and iggrid is drawn ?Waiting bar is like this site (https://www.google.co.kr/search?q=waiting+bar&newwindow=1&biw=1024&bih=683&tbm=isch&imgil=wwjq_2HhnH3VaM%253A%253B6RYw4xzzuql-rM%253Bhttp%25253A%25252F%25252Fwww.telerik.com%25252Fforums%25252Fprogress-display-issue&source=iu&pf=m&fir=wwjq_2HhnH3VaM%253A%252C6RYw4xzzuql-rM%252C_&usg=__zrH3NLfeHyyJEblNZZJtki7LhGg%3D&ved=0CCsQyjc&ei=nBbQVK6RDqa7mAWIlYCoDA#imgdii=_&imgrc=wwjq_2HhnH3VaM%253A%3B6RYw4xzzuql-rM%3Bhttp%253A%252F%252Fwww.telerik.com%252Fclientsfiles%252F222977_waiting-bar.jpg%253Fsfvrsn%253D0%3Bhttp%253A%252F%252Fwww.telerik.com%252Fforums%252Fprogress-display-issue%3B458%3B116)
Hello Edward,
Please feel free to contact us if you need any further assistance with this matter.
I'm saying that the igDataChart should be rendered after you initialize it.
I'm attaching my sample for your reference.
Best regards,
Martin Pavlov
Infragistics, Inc.
Hi Martin,
You say you can't know the finish time..
Then how can the progressbar() know whether the chart is completed? I don't understand what you said.
Can you show me the complete code with updateProgressBar()?
I tried the test with "addrow" thorugh for ~ loop..
But it's not what I want...
You cannot know that the state is completed in the refreshComplete event, because it doesn't provide that information.
What I can offer you is to put your progress update after your igDataChart initialization code.
Here is a pseudo code:
$("#dataChart")igDataChart({....});
updateProgressBar();
Note that the time updateProgressBar function executes the igDataChart should be rendered on the page.
Hope this helps,Martin PavlovInfragistics, Inc.
Hi.
Thank you for your quick reply.
I also know the refreshComplete event.
I already tested it..
But I can't know the finish time with the refreshComplete event..Because it shows several times in a datachart. (Sometimes twice, or third times.)
How can it know that the state is completed in the refreshComplete event?If I can, let me know that..Now.My solution is only addrow...But it's not good.