<?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 How to hide x-axis values in chart? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308153#M19664</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;| eval totaltime=mvindex(data,0)  
| eval duration=mvindex(data,1) 
| table totaltime duration 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;by using totaltime(first highlight in the below data) and duration(second highlight in the sample data below) from the below sample data and would like to striff off the values populating on x-axis. values say ()18.054, 18.250,1408.651,etc). Attached is the screenshot&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/3667i6B7974D1E72D42CA/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;P&gt;&lt;STRONG&gt;18.054:&lt;/STRONG&gt; [Full GC (System.gc())  503347K-&amp;gt;61384K(32156672K), &lt;STRONG&gt;0.1963421&lt;/STRONG&gt; secs]&lt;BR /&gt;
&lt;STRONG&gt;18.250:&lt;/STRONG&gt; [Full GC (System.gc())  61384K-&amp;gt;60461K(32156672K), &lt;STRONG&gt;0.2033912&lt;/STRONG&gt; secs]&lt;BR /&gt;
&lt;STRONG&gt;1408.651&lt;/STRONG&gt;: [GC (Metadata GC Threshold)  2828876K-&amp;gt;81862K(32156672K), &lt;STRONG&gt;0.0540273&lt;/STRONG&gt; secs]&lt;BR /&gt;
&lt;STRONG&gt;1408.705:&lt;/STRONG&gt; [Full GC (Metadata GC Threshold)  81862K-&amp;gt;29711K(32156672K), 0.0434399 secs]&lt;BR /&gt;
1412.793: [GC (Metadata GC Threshold)  1573326K-&amp;gt;77878K(32156672K), 0.0172465 secs]&lt;BR /&gt;
&lt;STRONG&gt;1412.810:&lt;/STRONG&gt; [Full GC (Metadata GC Threshold)  77878K-&amp;gt;67453K(32156672K), 0.1902059 secs]&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 07:28:43 GMT</pubDate>
    <dc:creator>nagaraju_chitta</dc:creator>
    <dc:date>2017-10-16T07:28:43Z</dc:date>
    <item>
      <title>How to hide x-axis values in chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308153#M19664</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| eval totaltime=mvindex(data,0)  
| eval duration=mvindex(data,1) 
| table totaltime duration 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;by using totaltime(first highlight in the below data) and duration(second highlight in the sample data below) from the below sample data and would like to striff off the values populating on x-axis. values say ()18.054, 18.250,1408.651,etc). Attached is the screenshot&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/3667i6B7974D1E72D42CA/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;P&gt;&lt;STRONG&gt;18.054:&lt;/STRONG&gt; [Full GC (System.gc())  503347K-&amp;gt;61384K(32156672K), &lt;STRONG&gt;0.1963421&lt;/STRONG&gt; secs]&lt;BR /&gt;
&lt;STRONG&gt;18.250:&lt;/STRONG&gt; [Full GC (System.gc())  61384K-&amp;gt;60461K(32156672K), &lt;STRONG&gt;0.2033912&lt;/STRONG&gt; secs]&lt;BR /&gt;
&lt;STRONG&gt;1408.651&lt;/STRONG&gt;: [GC (Metadata GC Threshold)  2828876K-&amp;gt;81862K(32156672K), &lt;STRONG&gt;0.0540273&lt;/STRONG&gt; secs]&lt;BR /&gt;
&lt;STRONG&gt;1408.705:&lt;/STRONG&gt; [Full GC (Metadata GC Threshold)  81862K-&amp;gt;29711K(32156672K), 0.0434399 secs]&lt;BR /&gt;
1412.793: [GC (Metadata GC Threshold)  1573326K-&amp;gt;77878K(32156672K), 0.0172465 secs]&lt;BR /&gt;
&lt;STRONG&gt;1412.810:&lt;/STRONG&gt; [Full GC (Metadata GC Threshold)  77878K-&amp;gt;67453K(32156672K), 0.1902059 secs]&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 07:28:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308153#M19664</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2017-10-16T07:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide x-axis values in chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308154#M19665</link>
      <description>&lt;P&gt;Update - &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/ChartConfigurationReference#Area.2C_Bubble.2C_Bar.2C_Column.2C_Line.2C_and_Scatter_charts"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/ChartConfigurationReference#Area.2C_Bubble.2C_Bar.2C_Column.2C_Line.2C_and_Scatter_charts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;looks like there is an option - &lt;BR /&gt;
charting.axisLabelsX.axisVisibility&lt;BR /&gt;
charting.axisLabelsY.axisVisibility (show | hide)   Depends on axis type    Indicates whether or not the axis line is visible. For numeric axes, defaults to hide. For all other axes, defaults to show.&lt;/P&gt;

&lt;P&gt;on the dashboard, click Edit ---&amp;gt; Edit Source, it will open  the xml source of the dashboard. &lt;BR /&gt;
on this xml, please update - &lt;BR /&gt;
&lt;CODE&gt;&amp;lt;param name="charting.axisLabelsY.majorLabelVisibility"&amp;gt;hide&amp;lt;/param&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;one more option - &lt;BR /&gt;
as you have long values, you can try the Label Rotation / Label truncation options. &lt;/P&gt;

&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/3666iFF1C4CE34C2C20A0/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, 16 Oct 2017 10:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308154#M19665</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-10-16T10:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide x-axis values in chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308155#M19666</link>
      <description>&lt;P&gt;@inventsekar, I think you meant &lt;CODE&gt;option&lt;/CODE&gt; not &lt;CODE&gt;param&lt;/CODE&gt;. Advanced XML &lt;CODE&gt;param&lt;/CODE&gt; is deprecated. Also it should be &lt;CODE&gt;axisLabelsX&lt;/CODE&gt; which needs to be hidden not Y.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;option name="charting.axisLabelsX.majorLabelVisibility"&amp;gt;hide&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: While this option should work and hide the x-axis labels, it is also deprecated. Following is the Splunk documentation for Chart Configuration reference: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference#Area.2C_Bubble.2C_Bar.2C_Column.2C_Line.2C_and_Scatter_charts"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference#Area.2C_Bubble.2C_Bar.2C_Column.2C_Line.2C_and_Scatter_charts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308155#M19666</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-16T11:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide x-axis values in chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308156#M19667</link>
      <description>&lt;P&gt;thanks for both ...I realized that the param is for Advanced XML and option is for simple xml as @niketnilay mentioned. Accordingly  i have changed  and works fine,,@niketnilay...not sure how to accept your answer.kindly let me know&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-hide-x-axis-values-in-chart/m-p/308156#M19667</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2017-10-16T11:45:41Z</dc:date>
    </item>
  </channel>
</rss>

