Jump to content

JavaScript Visualization - HTML file


Michael Burkard

Recommended Posts

I currently have a visualization saved as an HTML file that I am displaying in Spotfire via the JS Visualization extension. However, whenever I update the HTML file, the update is not reflected in the JS Visualization. How do I trigger the JS Visualization to be updated when the HTML file is changed

Details:

 

I use Python code (using the plotly library) that generates a visualization saved as an HTML file.

I amable to display the HTML visualization by adding the folder path to the HTML file under "Url" in JS Visualization Properties-->Libraries-->Linked Content

I have written a Python Data Function in Spotfire that updates the HTML file whenever I select a new marked item from my Spotfire table.

However, the JS Visualization doesn't update, still displaying the old HTML file. When I close and then reopen the JS Visualization, it updates, but I would like for it to update automatically (whenever the HTML file is changed/updated)without having to close and reopenit every time.

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...