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!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...