Dashboards & Visualizations

JS Wait for Chart (defined in SimpleXML) finished rendering

bojanisch
Path Finder

Hi everyone,

I'm trying to create images for my chart which works manually perfect. However applied after dashboard loading, even when triggered only after the search is completed, I'm getting most of the time "Waiting for data..." messages, maybe pointing to the problem that the visualization of the data taking longer than my JS capturing the panel.

alt text

Does someone know a flag or event for that I can listen for in order to capture the panel after everything has been visualized? I've already thought about several solutions, like writing everything in SplunkJS and using render() before capturing or simply waiting several seconds and then start the capture. However then I would loose flexibility, which I want to avoid.

Does someone had a similar challenge in the past or an idea for a flexible solution?

Best regards,
Bojan

0 Karma
Get Updates on the Splunk Community!

Full-Stack Security in Financial Services: AppDynamics, Cisco Secure Application, and ...

Full-Stack Security in Financial Services: AppDynamics, Cisco Secure Application, and Splunk ES Protecting a ...

It's Customer Success Time at .conf25

Hello Splunkers,   Ready for .conf25? The customer success and experience team is and can’t wait to see you ...

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...