<?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 Re: Subsequent Flash Charts Not Appearing in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27304#M1066</link>
    <description>&lt;P&gt;Thanks for the info, this is very useful and I'm sure there is an answer here. I changed 'FlashChart' to 'JSChart' and now displays 'Search did not generate any statistical results.'&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2012 08:24:01 GMT</pubDate>
    <dc:creator>matthewcanty</dc:creator>
    <dc:date>2012-08-08T08:24:01Z</dc:date>
    <item>
      <title>Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27300#M1062</link>
      <description>&lt;P&gt;I have a search with hidden post processes. I have managed to get this working with SingleValues having multiple searches going on, but I can't get beyond one chart with flash charts. The view doesn't fail, it just leaves empty chart space.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" autoRun="True"&amp;gt;
    &amp;lt;param name="search"&amp;gt;
        host="*90*" FeedSource="*" | fields _time Fixture FixtureState Selection MarketPrice Action * | sort _time desc
    &amp;lt;/param&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;rt-1d&amp;lt;/param&amp;gt;
    &amp;lt;param name="latest"&amp;gt;rt&amp;lt;/param&amp;gt;

    &amp;lt;module name="EnablePreview"&amp;gt;
        &amp;lt;param name="enable"&amp;gt;true&amp;lt;/param&amp;gt;
        &amp;lt;param name="display"&amp;gt;false&amp;lt;/param&amp;gt;  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="GenericHeader" layoutPanel="panel_row3_col1_grp1" autoRun="True"&amp;gt;
            &amp;lt;param name="label"&amp;gt;Fixture Caches&amp;lt;/param&amp;gt;
            &amp;lt;module name="HiddenPostProcess" layoutPanel="panel_row3_col1_grp1"&amp;gt;
                &amp;lt;param name="search"&amp;gt;
                    search Fixture&amp;gt;0 | stats max(_time) As LatestTime By Action | eval Gap=time()-LatestTime | chart last(Gap) As "Seconds Since Last Event" By Action
                &amp;lt;/param&amp;gt;
                &amp;lt;module name="HiddenChartFormatter"&amp;gt;    
                    &amp;lt;param name="chart"&amp;gt;column&amp;lt;/param&amp;gt;
                    &amp;lt;param name="legend.placement"&amp;gt;none&amp;lt;/param&amp;gt;
                    &amp;lt;module name="FlashChart"&amp;gt;
                        &amp;lt;param name="width"&amp;gt;100%&amp;lt;/param&amp;gt;
                        &amp;lt;param name="height"&amp;gt;100%&amp;lt;/param&amp;gt;
                    &amp;lt;/module&amp;gt;
                &amp;lt;/module&amp;gt;  
            &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
        &amp;lt;module name="GenericHeader" layoutPanel="panel_row3_col1_grp2" autoRun="True"&amp;gt;
            &amp;lt;param name="label"&amp;gt;Fixture State Caches&amp;lt;/param&amp;gt;
            &amp;lt;module name="HiddenPostProcess" layoutPanel="panel_row3_col1_grp2"&amp;gt;
                &amp;lt;param name="search"&amp;gt;
                    search FixtureState&amp;gt;0 | stats max(_time) As LatestTime By Action | eval Gap=time()-LatestTime | chart last(Gap) As "Seconds Since Last Event" By Action
                &amp;lt;/param&amp;gt;
                &amp;lt;module name="HiddenChartFormatter"&amp;gt;    
                    &amp;lt;param name="chart"&amp;gt;column&amp;lt;/param&amp;gt;
                    &amp;lt;param name="legend.placement"&amp;gt;none&amp;lt;/param&amp;gt;
                    &amp;lt;module name="FlashChart"&amp;gt;
                        &amp;lt;param name="width"&amp;gt;100%&amp;lt;/param&amp;gt;
                        &amp;lt;param name="height"&amp;gt;100%&amp;lt;/param&amp;gt;
                    &amp;lt;/module&amp;gt;
                &amp;lt;/module&amp;gt;  
            &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone advise me on where I may be going wrong with this?&lt;/P&gt;

&lt;P&gt;Many thanks.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/screenshot.jpg" alt="Screenshot" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 09:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27300#M1062</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-08-07T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27301#M1063</link>
      <description>&lt;P&gt;You want to be very careful about having more than one autoRun="True" in a given path in the XML tree.   This can can in some cases cause nasty problems with inconsistent state in the UI.  Remove the more downstream autoRun="True" attribute(s) and leave the more upstream one.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:20:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27301#M1063</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-08-07T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27302#M1064</link>
      <description>&lt;P&gt;Thanks, I've changed everything but the hiddensearches to auto run. I have updated the question to include a screen shot of what is happening. All this runs of a single real-time search. Missing 3 flash charts though.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27302#M1064</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-08-07T16:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27303#M1065</link>
      <description>&lt;P&gt;Now that I see the screenshot I think I have a good guess. &lt;BR /&gt;
FlashChart is very tricky when it's put into a custom floated layout with custom CSS. &lt;BR /&gt;
The communication between browser and flash,  and the communication between splunk framework and Flash, about when to re-render the flash canvas, can get confused by the floats. &lt;/P&gt;

&lt;P&gt;As a result. &lt;/P&gt;

&lt;P&gt;1) changing to JSChart,  I'll bet fixes the problem entirely. &lt;/P&gt;

&lt;P&gt;2) temporarily unfloating the floats will probably also fix the problem. &lt;/P&gt;

&lt;P&gt;3) sometimes you can get away with just putting position:relative on the floated elements and this will help with render-pass problems.  (although it can also slow down css rendering). &lt;/P&gt;

&lt;P&gt;4) if all else fails, but unfloating the charts &lt;EM&gt;does&lt;/EM&gt; fix it, then just keep tinkering with the floated CSS&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27303#M1065</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-08-07T16:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27304#M1066</link>
      <description>&lt;P&gt;Thanks for the info, this is very useful and I'm sure there is an answer here. I changed 'FlashChart' to 'JSChart' and now displays 'Search did not generate any statistical results.'&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 08:24:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27304#M1066</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-08-08T08:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27305#M1067</link>
      <description>&lt;P&gt;Thanks for your suggestions Sideview. I was reviewing the documentation: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/PostProcess"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/PostProcess&lt;/A&gt; and noted that the &lt;EM&gt;only&lt;/EM&gt; difference was my height element being 100% and theirs being 400px. I changed mine to pixels and unbelievably it worked.&lt;/P&gt;

&lt;P&gt;Change:&lt;BR /&gt;
    &lt;MODULE name="FlashChart"&gt;&lt;BR /&gt;
          &lt;OBJECT&gt;&lt;PARAM name="width" /&gt;100%&lt;BR /&gt;
          &lt;PARAM name="height" /&gt;100%&lt;BR /&gt;
        &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
To:&lt;BR /&gt;
    &lt;MODULE name="FlashChart"&gt;&lt;BR /&gt;
              &lt;OBJECT&gt;&lt;PARAM name="width" /&gt;100%&lt;BR /&gt;
              &lt;PARAM name="height" /&gt;400px&lt;BR /&gt;
            &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 10:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27305#M1067</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-08-08T10:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Subsequent Flash Charts Not Appearing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27306#M1068</link>
      <description>&lt;P&gt;Well now you're getting somewhere at least.  That means it was indeed a float problem or one way or another, a rendering problem with FlashChart.   And it means that in addition to that problem, you also have a problem whereby your search result doesn't return anything that &lt;EM&gt;either&lt;/EM&gt; chart module can graph.   Put a SimpleResultsTable there for now to see what &lt;EM&gt;is&lt;/EM&gt; there...   Maybe there's no results at all and the JSChart messaging is just confused, or maybe you're graphing non-numeric fields or something.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2012 16:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Subsequent-Flash-Charts-Not-Appearing/m-p/27306#M1068</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2012-08-08T16:10:26Z</dc:date>
    </item>
  </channel>
</rss>

