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!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...