That was really helpful. Thanks for the on time support. Appreciate it.

On Monday, August 21, 2017 at 7:23:39 PM UTC+5:30, Daniel LaLiberte wrote:
>
> I just added a setting called 'timeoutDelay' which you can use to set the 
> timeout delay, in milliseconds.  This will apply to all subsequent load 
> calls until you change the timeoutDelay again.
>
> On Mon, Aug 21, 2017 at 1:41 AM, Vinay Aggarwal <
> [email protected] <javascript:>> wrote:
>
>> Hey Daniel, Can that timeout be configurable, I tried the charts in my 
>> production application on IE it's taking little over than 30 seconds and 
>> hence not working.
>>
>> On Friday, August 18, 2017 at 12:36:48 AM UTC+5:30, Daniel LaLiberte 
>> wrote:
>>>
>>> I updated the loader again to increase the timeout to 30 seconds (per 
>>> file).  That should be enough for everyone but submarines.
>>>
>>> On Thu, Aug 17, 2017 at 2:33 PM, Daniel LaLiberte <[email protected]> 
>>> wrote:
>>>
>>>> I just updated the loader to wait for all the individual packages to 
>>>> load.  It used to only wait for the last one, assuming they would all be 
>>>> loaded by jsloader in the order specified and expecting the Deferred 
>>>> callback would happen after the last file had finished loading.  But I 
>>>> guess that was not entirely reliable because it appears it was using the 
>>>> Deferred from the last file that finished loading, rather than the last 
>>>> file specified.
>>>>
>>>> But I also just discovered that there is a 5 second timeout that 
>>>> applies:  
>>>> https://github.com/google/closure-library/blob/master/closure/goog/net/jsloader.js#L49
>>>>  
>>>>  
>>>> If any package doesn't finish loading in time, the result will be no 
>>>> callback.    Not sure whether I should add a 'timeout' setting to the 
>>>> loader or just increase the timeout by default, or both.
>>>>
>>>>
>>>> On Thu, Aug 17, 2017 at 11:46 AM, Daniel LaLiberte <[email protected]
>>>> > wrote:
>>>>
>>>>> Hi Vinay,
>>>>>
>>>>> Thanks for your report.
>>>>>
>>>>> It's not just the org chart.  There may be a problem in the loader, in 
>>>>> that when loading packages takes "long enough", it doesn't appear to 
>>>>> proceed with callbacks after the loading has finished.  No other errors 
>>>>> occur, so it might be that the code thinks it is done.  But once loading 
>>>>> of 
>>>>> the package files is actually finished, if you reload the page, the 
>>>>> browser 
>>>>> will find the files in a local cache, and then it loads them fast enough. 
>>>>>  
>>>>> I don't know what the underlying cause is, but I suspect there might be a 
>>>>> bug in the Google Closure jsloader or the way we are using it.
>>>>>
>>>>> I saw similar problems earlier, when the cache lifetime of the files 
>>>>> was very short, but I thought the cause of the problem was that the 
>>>>> server 
>>>>> was throttling requests.
>>>>>
>>>>>
>>>>> On Thu, Aug 17, 2017 at 10:59 AM, Vinay Aggarwal <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> There is very basic issue with Google Organisational chart, that if 
>>>>>> we try this api on slow connection it does not work. 
>>>>>>
>>>>>> Look at the demo given on the documentation page itself.
>>>>>> https://developers.google.com/chart/interactive/docs/gallery/orgchart
>>>>>>
>>>>>> If you just open up the "Network" panel of chrome and throttle it for 
>>>>>> "slow 3g" demo wont work. Not sure if it is broken only on latest 
>>>>>> version. 
>>>>>> Is it a know issue or is there any workaround of it.
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Google Visualization API" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to 
>>>>>> [email protected].
>>>>>> To post to this group, send email to [email protected]
>>>>>> .
>>>>>> Visit this group at 
>>>>>> https://groups.google.com/group/google-visualization-api.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/google-visualization-api/a78f5b54-2453-43d2-9531-5098fd4d3866%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/google-visualization-api/a78f5b54-2453-43d2-9531-5098fd4d3866%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Daniel LaLiberte 
>>>>> <https://plus.google.com/100631381223468223275?prsrc=2>
>>>>> [email protected]   5CC, Cambridge MA
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Daniel LaLiberte 
>>>> <https://plus.google.com/100631381223468223275?prsrc=2>
>>>> [email protected]   5CC, Cambridge MA
>>>>
>>>
>>>
>>>
>>> -- 
>>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>> [email protected]   5CC, Cambridge MA
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Visualization API" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at 
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/e54ba9e2-f0c8-4100-9739-9698e97cf4ad%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/e54ba9e2-f0c8-4100-9739-9698e97cf4ad%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   5CC, Cambridge MA
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/af987bce-d06b-4187-8741-591b44c1f8b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to