<?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: Reset zoom button on charts doesn't works when i select some other value. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322396#M40039</link>
    <description>&lt;P&gt;I am not able to upload screenshot in either way (no karma points).&lt;BR /&gt;
Could you please provide a JavaScript code example to proceed further. I mean if i need to reset the value(zoom button) when i switch to other chart(2 values are there and the chart changes when i select one value and it changes again when i select other value ).&lt;BR /&gt;
Suppose for chart i have used zoom button and without doing reset zoom i switch to other chart (when i click on other value), the reset zoom button does not work. &lt;BR /&gt;
So for this i would need to use javascript so that the zoom button functionality gets reset.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 07:52:17 GMT</pubDate>
    <dc:creator>56838396</dc:creator>
    <dc:date>2018-02-05T07:52:17Z</dc:date>
    <item>
      <title>Reset zoom button on charts doesn't works when i select some other value.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322392#M40035</link>
      <description>&lt;P&gt;I have a chart panel and some other panel (X). When i click on the value from other panel X, my chart changes accordingly. So The problem i am facing is:&lt;BR /&gt;
When i click on 1st value from panel X and zoom the chart, i can see the reset zoom button. But after performing zoom if i left the chart (zoom) as it is and i select the other value in other panel X and again i zoom the chart. At this point i cannot see the reset zoom button/&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 09:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322392#M40035</guid>
      <dc:creator>ruchigupta</dc:creator>
      <dc:date>2018-01-22T09:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reset zoom button on charts doesn't works when i select some other value.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322393#M40036</link>
      <description>&lt;P&gt;@ruchigupta, reset button is usually shown in case of selection. Please refer to doumentation for details: &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/Chartcontrols#Pan_and_zoom_chart_controls"&gt;http://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/Chartcontrols#Pan_and_zoom_chart_controls&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For community to help you you might have to share the Panel X and Chart Panel Simple XML code.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 17:25:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322393#M40036</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-01-22T17:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reset zoom button on charts doesn't works when i select some other value.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322394#M40037</link>
      <description>&lt;P&gt;Hi niketnilay,&lt;BR /&gt;
Is it mandatory to click reset zoom before switching to other value?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 06:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322394#M40037</guid>
      <dc:creator>56838396</dc:creator>
      <dc:date>2018-01-29T06:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reset zoom button on charts doesn't works when i select some other value.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322395#M40038</link>
      <description>&lt;P&gt;In a Timechart when you zoom in once, you can further zoom inside the selection by zooming in again. However, to go back to previous selection you would have to reset zoom.&lt;/P&gt;

&lt;P&gt;When you zoom in using &lt;CODE&gt;&amp;lt;selection&amp;gt;&lt;/CODE&gt; until you reset you can slide the zoomed selection, but can not further zoom in.&lt;/P&gt;

&lt;P&gt;You can however, code click/selection or any other input using JavaScript to reset the selection/tokens as per your requirements.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 08:19:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322395#M40038</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-01-29T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reset zoom button on charts doesn't works when i select some other value.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322396#M40039</link>
      <description>&lt;P&gt;I am not able to upload screenshot in either way (no karma points).&lt;BR /&gt;
Could you please provide a JavaScript code example to proceed further. I mean if i need to reset the value(zoom button) when i switch to other chart(2 values are there and the chart changes when i select one value and it changes again when i select other value ).&lt;BR /&gt;
Suppose for chart i have used zoom button and without doing reset zoom i switch to other chart (when i click on other value), the reset zoom button does not work. &lt;BR /&gt;
So for this i would need to use javascript so that the zoom button functionality gets reset.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322396#M40039</guid>
      <dc:creator>56838396</dc:creator>
      <dc:date>2018-02-05T07:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reset zoom button on charts doesn't works when i select some other value.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322397#M40040</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I tried to replicate your issue but I am able to get reset zoom button after changing graph plotting criteria .&lt;BR /&gt;
Is your js overriding this zoom functionality?&lt;BR /&gt;
here is run anywhere search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;form&amp;gt;
   &amp;lt;label&amp;gt;Dropdown&amp;lt;/label&amp;gt;
   &amp;lt;fieldset submitButton="false"&amp;gt;
     &amp;lt;input type="dropdown" token="sourcetype" searchWhenChanged="true"&amp;gt;
       &amp;lt;label&amp;gt;Select a sourcetype&amp;lt;/label&amp;gt;
       &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
       &amp;lt;choice value="scheduler"&amp;gt;scheduler&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="splunk_web_access"&amp;gt;splunk_web_access&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="splunk_web_service"&amp;gt;splunk_web_service&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="splunkd"&amp;gt;splunkd&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="splunkd_access"&amp;gt;splunkd_access&amp;lt;/choice&amp;gt;
       &amp;lt;choice value="splunkd_ui_access"&amp;gt;splunkd_ui_access&amp;lt;/choice&amp;gt;
     &amp;lt;/input&amp;gt;
   &amp;lt;/fieldset&amp;gt;
   &amp;lt;row&amp;gt;
     &amp;lt;panel&amp;gt;
       &amp;lt;title&amp;gt;Dropdown- sourcetype=$sourcetype$&amp;lt;/title&amp;gt;
       &amp;lt;chart&amp;gt;
         &amp;lt;search&amp;gt;
           &amp;lt;query&amp;gt;
            index=_internal |search sourcetype="$sourcetype$"|timechart count(sourcetype) count(source)&amp;lt;/query&amp;gt;
           &amp;lt;earliest&amp;gt;-20h@h&amp;lt;/earliest&amp;gt;
           &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
         &amp;lt;/search&amp;gt;
         &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
       &amp;lt;/chart&amp;gt;
     &amp;lt;/panel&amp;gt;
   &amp;lt;/row&amp;gt;
 &amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Are you getting same issue in this dashboard also?&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4197i93975B9E87A33113/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 13:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Reset-zoom-button-on-charts-doesn-t-works-when-i-select-some/m-p/322397#M40040</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-05T13:31:07Z</dc:date>
    </item>
  </channel>
</rss>

