<?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: Chart Data Preview in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136308#M8117</link>
    <description>&lt;P&gt;This may not be achievable though SimpleXML configuration alone, or at least I don't know of a way.&lt;/P&gt;

&lt;P&gt;However, you can disable the preview in regular searching (Statistics Tab -&amp;gt; No Preview) and save that search as a Report - the "No Preview" setting will persist. Similarly, using that Report on a Dashboard will honor that setting and not display a preview.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2014 10:59:57 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-09-23T10:59:57Z</dc:date>
    <item>
      <title>Chart Data Preview</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136307#M8116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I was just asked if there was an option to disable the results preview for a chart for which I replied "Yes, there is". We just want to see the final chart with the full results instead of watching the chart build the results in stages as it loads.&lt;/P&gt;

&lt;P&gt;So...using Simple XML I added the charting.data.preview property to the end of the attributes that sit within chart tags but it did not disable the results preview:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleX.text"&amp;gt;Time&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY.text"&amp;gt;Count&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
  &amp;lt;option name="charting.data.preview"&amp;gt;false&amp;lt;/option&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: Some of the options were added to the XML by default when making chart changes using the Splunk UI. I am using Splunk v6.0.1.&lt;BR /&gt;
My understanding according to the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Viz/ChartConfigurationReference"&gt;Chart Config Reference&lt;/A&gt; is that chart data preview is set to false by default so it should not be necessary for me to set the above option for it to work.&lt;BR /&gt;
Any ideas why my chart continues to preview results? Could one of the other chart properties be the cause? Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 10:33:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136307#M8116</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2014-09-23T10:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Data Preview</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136308#M8117</link>
      <description>&lt;P&gt;This may not be achievable though SimpleXML configuration alone, or at least I don't know of a way.&lt;/P&gt;

&lt;P&gt;However, you can disable the preview in regular searching (Statistics Tab -&amp;gt; No Preview) and save that search as a Report - the "No Preview" setting will persist. Similarly, using that Report on a Dashboard will honor that setting and not display a preview.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 10:59:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136308#M8117</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-09-23T10:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Data Preview</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136309#M8118</link>
      <description>&lt;P&gt;Thanks Martin. I will give this a try and update this thread once I have. While it is not ideal, it is a workaround of sorts which is better than nothing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Not convinced I will be able to use this in a form with token inputs.&lt;/P&gt;

&lt;P&gt;In Advanced XML it's easy to do via the EnablePreview module.&lt;/P&gt;

&lt;P&gt;It would be interesting to know if anyone has had some trouble with this and what they did to fix that.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 13:39:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136309#M8118</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2014-09-23T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Data Preview</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136310#M8119</link>
      <description>&lt;P&gt;You can always move to SplunkJS / the Web Framework where searches run by a &lt;CODE&gt;SearchManager&lt;/CODE&gt; do have such a flag:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;preview: Indicates if preview is enabled for this search job. By default, preview is enabled for realtime searches and for searches where status_buckets &amp;gt; 0. Set to false to disable preview.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/WebFramework"&gt;http://docs.splunk.com/Documentation/WebFramework&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;That's used by SimpleXML underneath so it's all there, it just might not be passed down (yet?).&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 14:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Chart-Data-Preview/m-p/136310#M8119</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-09-23T14:53:56Z</dc:date>
    </item>
  </channel>
</rss>

