<?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 hide a field from the legend in a bar chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135003#M36905</link>
    <description>&lt;P&gt;hey @shankarananth&lt;/P&gt;

&lt;P&gt;add this to dashboard XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it works!&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2017 10:36:41 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2017-12-12T10:36:41Z</dc:date>
    <item>
      <title>How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134996#M36898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My current search I'm using to populate the value is given below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source= transaction.csv    
| stats  values(AppName) as AppName, avg(Response_Time) as AverageResponseTime, max(Response_Time) as MaxResponseTime,
 min(Response_Time) as MinResponseTime   by custonernumber 
| table  custonernumber AppName  AverageResponseTime MaxResponseTime MinResponseTime | head 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when i'm trying to show the data in bar chart, I'm getting legend names such as AppName  AverageResponseTime MaxResponseTime MinResponseTime.&lt;BR /&gt;
I want to hide or remove AppName from the legend in my bar chart, but I need to do it without removing AppName field from the search above.&lt;BR /&gt;
I'm using that Appname field for a filter condition in my dashboard, so I cannot remove the Appname field from the above search.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Shankarananth&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134996#M36898</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2015-07-22T16:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134997#M36899</link>
      <description>&lt;P&gt;Are you using this search as base search? How are you adding filter and is it on other panels?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134997#M36899</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-07-22T16:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134998#M36900</link>
      <description>&lt;P&gt;In other panels i can able to add it. because i am using the Appname field t be displayed in that chart else i'm displaying the data as statistics.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 06:17:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134998#M36900</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2015-07-23T06:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134999#M36901</link>
      <description>&lt;P&gt;Hai,&lt;/P&gt;

&lt;P&gt;Thank you very much .&lt;/P&gt;

&lt;P&gt;I achieved that approach in another way .. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 07:02:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/134999#M36901</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2015-07-28T07:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135000#M36902</link>
      <description>&lt;P&gt;Have you tried using &lt;CODE&gt;fields&lt;/CODE&gt;?&lt;BR /&gt;
Try appending:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fields - AppName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could probably also replace table with fields, something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fields custonernumber AverageResponseTime MaxResponseTime MinResponseTime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jul 2015 08:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135000#M36902</guid>
      <dc:creator>pwmcity</dc:creator>
      <dc:date>2015-07-28T08:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135001#M36903</link>
      <description>&lt;P&gt;can You please tell me how you achieved the answer? ,Can You  please tell me how you acheived ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135001#M36903</guid>
      <dc:creator>srikanthvaddevo</dc:creator>
      <dc:date>2017-12-12T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135002#M36904</link>
      <description>&lt;P&gt;May I know how you acheived Mr.Shankaranath?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135002#M36904</guid>
      <dc:creator>srikanthvaddevo</dc:creator>
      <dc:date>2017-12-12T10:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide a field from the legend in a bar chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135003#M36905</link>
      <description>&lt;P&gt;hey @shankarananth&lt;/P&gt;

&lt;P&gt;add this to dashboard XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.legend.placement"&amp;gt;none&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it works!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 10:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-a-field-from-the-legend-in-a-bar-chart/m-p/135003#M36905</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-12T10:36:41Z</dc:date>
    </item>
  </channel>
</rss>

