Jump to content
We've recently updated our Privacy Statement, available here. ×

Spotfire Text Area - How to make sure a Calculated Value is fully loaded/ready

jack deng

Recommended Posts


I can currently building my own custom KPI charts using HTML, CSS and JS in Text Area, and need to insert calculated values into the text area as



While I am applying some JavaScript functions based on the SpotfireControl tag, how can I ensure that the SpotfireControl tag is fully loaded/have data

My problem is sometimes that tag does not have any data, and it all depends on luck..


(I have been trying windows.onload, body onload... all these kind of events, nothing worked)

It would be great if you can give some advises.


Thank you


Link to comment
Share on other sites

  • 1 month later...

You can use setinterval method to check every specific ms if calculated value is loaded or not then execute the corresponding action in script


$(function() {





$("#load :first-child").click();

}, 1000);





Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...