<?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 do I change the label of the x-axis on a chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352242#M104247</link>
    <description>&lt;P&gt;if you want to change the x axis label , which probably is coming as 'DefectCode' you just can edit the chart type and put a custom x axis label to TA. Visualization &amp;gt; Format &amp;gt; X Axis &amp;gt; Ttile &amp;gt; Custom &amp;gt; (your label.)&lt;BR /&gt;
However, I think the DefectCode  field value is TA which you want to rename as Styles&lt;BR /&gt;
For this you need to :&lt;BR /&gt;
|eval DefectCode=if(DefectCode="TA","Styles",DefectCode) BEFORE the stats command.&lt;BR /&gt;
Now, if you have other DefectCode types you need to append the labels you want after the last , in the if statement&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2017 17:08:04 GMT</pubDate>
    <dc:creator>Sukisen1981</dc:creator>
    <dc:date>2017-09-20T17:08:04Z</dc:date>
    <item>
      <title>How do I change the label of the x-axis on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352241#M104246</link>
      <description>&lt;P&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/3534iC0424F3ACC85A1D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="all_eqt" Plant=15 ProcessCode=T DefectCode="*" MachineNumber&amp;lt;26 | stats sum(TotalSquareYards) as "Total Square Yards" by DefectCode
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I change the x-axis "TA" label to display "styles" instead?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 16:46:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352241#M104246</guid>
      <dc:creator>Hppjet</dc:creator>
      <dc:date>2017-09-20T16:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the label of the x-axis on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352242#M104247</link>
      <description>&lt;P&gt;if you want to change the x axis label , which probably is coming as 'DefectCode' you just can edit the chart type and put a custom x axis label to TA. Visualization &amp;gt; Format &amp;gt; X Axis &amp;gt; Ttile &amp;gt; Custom &amp;gt; (your label.)&lt;BR /&gt;
However, I think the DefectCode  field value is TA which you want to rename as Styles&lt;BR /&gt;
For this you need to :&lt;BR /&gt;
|eval DefectCode=if(DefectCode="TA","Styles",DefectCode) BEFORE the stats command.&lt;BR /&gt;
Now, if you have other DefectCode types you need to append the labels you want after the last , in the if statement&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 17:08:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352242#M104247</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-20T17:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the label of the x-axis on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352243#M104248</link>
      <description>&lt;P&gt;Recent thread on this topic &lt;A href="https://answers.splunk.com/answers/574491/how-to-dynamically-create-a-custom-x-axis-label-in.html"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 17:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-label-of-the-x-axis-on-a-chart/m-p/352243#M104248</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-09-20T17:21:38Z</dc:date>
    </item>
  </channel>
</rss>

