<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JS Wait for Chart (defined in SimpleXML) finished rendering in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/JS-Wait-for-Chart-defined-in-SimpleXML-finished-rendering/m-p/373466#M24399</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4373iA2EDEFD5DB7EB750/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Does someone had a similar challenge in the past or an idea for a flexible solution?&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
Bojan&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2018 15:38:02 GMT</pubDate>
    <dc:creator>bojanisch</dc:creator>
    <dc:date>2018-02-12T15:38:02Z</dc:date>
    <item>
      <title>JS Wait for Chart (defined in SimpleXML) finished rendering</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/JS-Wait-for-Chart-defined-in-SimpleXML-finished-rendering/m-p/373466#M24399</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4373iA2EDEFD5DB7EB750/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Does someone had a similar challenge in the past or an idea for a flexible solution?&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
Bojan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 15:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/JS-Wait-for-Chart-defined-in-SimpleXML-finished-rendering/m-p/373466#M24399</guid>
      <dc:creator>bojanisch</dc:creator>
      <dc:date>2018-02-12T15:38:02Z</dc:date>
    </item>
  </channel>
</rss>

