<?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: How to stop timechart drilldown using javascript? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125040#M33802</link>
    <description>&lt;P&gt;Thanks for the solution , it works. The only stupid problem with my code was that I was missing ',' in the second line .Due to this silly mistake Splunk was ignoring 3rd line .Thanks again&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2015 02:13:40 GMT</pubDate>
    <dc:creator>vikas_gopal</dc:creator>
    <dc:date>2015-02-04T02:13:40Z</dc:date>
    <item>
      <title>How to stop timechart drilldown using javascript?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125038#M33800</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;I am struggling to stop time chart drilldown using js. Here is the code.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;this._chartView = new ChartView({
                managerid: 'details-search-manager',
                'charting.legend.placement': 'none'
                'charting.drilldown': 'none'    
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;'charting.legend.placement': 'none'&lt;/CODE&gt; is working absolutely fine but &lt;CODE&gt;'charting.drilldown': 'none'&lt;/CODE&gt; is getting ignored by Splunk. Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 02:36:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125038#M33800</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2015-02-03T02:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop timechart drilldown using javascript?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125039#M33801</link>
      <description>&lt;P&gt;Javascript provides a  method called preventDefault().  The method must be tied to an event.  Below is an example using table.&lt;/P&gt;

&lt;PRE&gt;
splunkTable = new TableView({
    id: "members"+epoch2.getTime(),
    managerid: elementSearch,
    el: $(innerElement)
}).render();
splunkTable.on("click", function(e) {
    e.preventDefault();
});
&lt;/PRE&gt;

&lt;P&gt;The sample above is an extract from a working Splunk project.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/event.preventDefault"&gt;preventDefault&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2015 22:02:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125039#M33801</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2015-02-03T22:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop timechart drilldown using javascript?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125040#M33802</link>
      <description>&lt;P&gt;Thanks for the solution , it works. The only stupid problem with my code was that I was missing ',' in the second line .Due to this silly mistake Splunk was ignoring 3rd line .Thanks again&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 02:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125040#M33802</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2015-02-04T02:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop timechart drilldown using javascript?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125041#M33803</link>
      <description>&lt;P&gt;The only stupid problem with my code was that I was missing ',' in the 3rd line .Due to this silly mistake Splunk was ignoring 3rd line .&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 02:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125041#M33803</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2015-02-04T02:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop timechart drilldown using javascript?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125042#M33804</link>
      <description>&lt;P&gt;Thank for you for voting my answer up, could you accept it?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 02:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-stop-timechart-drilldown-using-javascript/m-p/125042#M33804</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2015-02-04T02:27:33Z</dc:date>
    </item>
  </channel>
</rss>

