Question

Custom visualization takes a long time to render despite all DOM content downloading in ~2 seconds

  • 1 September 2022
  • 3 replies
  • 27 views

Hi!

I’m building a custom visualization and I’m wondering why it takes so long for the tile view to show up if the content of the graph was downloaded into the DOM pretty quickly? 
Is this a Looker issue -- there’s nearly  a minute of loading time and I’m not sure what for...?

 


This topic has been closed for comments

3 replies

I should note that this is in a dashboard; in explores and looks, the graph loads in ~1-2 seconds.

Hmmm I think the custom visualization loading image is broken -- it doesn’t seem to know when to finish running so it likely default times out at 60 seconds. But if I hide that element in the console prior to 60 seconds is up, the graph is just sitting underneath the loading div. 

I have wrapped the updateAsync done argument like this: `if(details.print){done()};` . Maybe this is the issue...

It is not `if(details.print){done())`. Can the Looker team please advise?