<?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: FEATURE REQUEST - Show percentage values on the Y-axis of a chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340411#M100964</link>
    <description>&lt;P&gt;@mblauw, refer to one of my answers for similar scenario. Ideally Display of &lt;CODE&gt;%&lt;/CODE&gt; in Y-axis label should be handled in Highcharts configuration itself. I have listed an override through jQuery to handle the same. There is an issue with &lt;CODE&gt;%&lt;/CODE&gt; disappearing when the browser resizes or edit/debug is attempted. However, refreshing the search in the panel with the chart should get the percent sign back.&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/2811i88448AA9D042E2B4/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;A href="https://answers.splunk.com/answers/598632/add-percent-sign-on-a-stacked-column-chart-data-la.html?childToView=598113#answer-598113"&gt;https://answers.splunk.com/answers/598632/add-percent-sign-on-a-stacked-column-chart-data-la.html?childToView=598113#answer-598113&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please try out the run anywhere example and confirm.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 03:23:28 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-12-15T03:23:28Z</dc:date>
    <item>
      <title>FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340401#M100954</link>
      <description>&lt;P&gt;I would like to see the possibility of showing percentage values on the y-axis of my charts (so 1% to 100%). Currently, it's only possible to show numbers without the formatting within Splunk, whereas other packages like Tableau already have many of these functionalities.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 08:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340401#M100954</guid>
      <dc:creator>mblauw</dc:creator>
      <dc:date>2017-04-20T08:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340402#M100955</link>
      <description>&lt;P&gt;Updated - Based on the example, you are looking for changing the &lt;STRONG&gt;Stack Mode&lt;/STRONG&gt; from Visualization Settings to &lt;STRONG&gt;Stacked 100%&lt;/STRONG&gt;.  This feature is available in Splunk. By default Stack Mode is set to None, so you are not seeing Stacked series in your chart. PS: Stacked Mode is applicable to &lt;STRONG&gt;Column Chart&lt;/STRONG&gt;, &lt;STRONG&gt;Bar Chart&lt;/STRONG&gt; and &lt;STRONG&gt;Area Chart&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Added Sample screenshot and options for changing the Stack Mode to &lt;STRONG&gt;Stacked 100%&lt;/STRONG&gt; from UI or Simple XML. &lt;BR /&gt;
&lt;STRONG&gt;Option 1- UI&lt;/STRONG&gt;&lt;BR /&gt;
&lt;CODE&gt;Edit Dashboard --&amp;gt; Edit Panel Settings --&amp;gt; General --&amp;gt; Stack Mode --&amp;gt; stacked 100%&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Option 2- Simple XML through Chart Configuration&lt;/STRONG&gt;&lt;BR /&gt;
&lt;CODE&gt;&amp;lt;option name="charting.chart.stackMode"&amp;gt;stacked100&amp;lt;/option&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hopefully this is what you are looking for.&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/2808iF4BF6E2D3AF5DA60/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;HR /&gt;

&lt;P&gt;Is this for Column/Bar Chart? Can you add a screenshot of what output you want from Tableau?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:24:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340402#M100955</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-04-20T10:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340403#M100956</link>
      <description>&lt;P&gt;Hi mblauw,&lt;BR /&gt;
insert this request in the Splunk Partner Portal (&lt;A href="https://splunkcommunities.force.com/login"&gt;https://splunkcommunities.force.com/login&lt;/A&gt;) as Feature Request.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:26:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340403#M100956</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-20T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340404#M100957</link>
      <description>&lt;P&gt;Both if possible. &lt;/P&gt;

&lt;P&gt;Here's an image of how this is shown in Tableau&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://lh3.ggpht.com/-BavIH05sCU8/UBFYjfRQxbI/AAAAAAAAZ-4/qKQ36B54uJs/image%25255B82%25255D.png?imgmax=800" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:26:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340404#M100957</guid>
      <dc:creator>mblauw</dc:creator>
      <dc:date>2017-04-20T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340405#M100958</link>
      <description>&lt;P&gt;PS: Just to add... If your Splunk query itself is giving results as Percent value like 20, 30, 50 etc instead of actual volume, you can directly use &lt;STRONG&gt;Stacked&lt;/STRONG&gt; as the &lt;STRONG&gt;Stack Mode&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340405#M100958</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-04-20T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340406#M100959</link>
      <description>&lt;P&gt;Thank you for your answer. I already knew about this option. However, I truly want the formatting of values on the y-axis to be right (%).&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 13:26:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340406#M100959</guid>
      <dc:creator>mblauw</dc:creator>
      <dc:date>2017-04-20T13:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340407#M100960</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval host="Jumbo Box,Jumbo Drum,Large Box,Medium Box,Small Box,Small Pack,Wrap Bag"
| makemv delim="," host 
| mvexpand host 
| eval Central=random(), East=random(), South=random(), West=random()

| rename COMMENT AS "Everything above fakes your events; everything below is your solution"

| stats sum(Central) AS Central sum(East) AS East sum(South) AS South sum(West) AS West by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the &lt;CODE&gt;visualization&lt;/CODE&gt; tab select &lt;CODE&gt;Column Chart&lt;/CODE&gt;, then click &lt;CODE&gt;Format&lt;/CODE&gt; and select the &lt;CODE&gt;General&lt;/CODE&gt; tab, click the last/3rd icon for &lt;CODE&gt;Stack Mode&lt;/CODE&gt; ( &lt;CODE&gt;Stacked 100%&lt;/CODE&gt; ).  It should look &lt;EM&gt;exactly&lt;/EM&gt; like your mockup does.  You will just have to adjust the search to output the same set of rows and fields as my mockup+search does.&lt;/P&gt;

&lt;P&gt;If your problem is that the values revealed by hovering are the raw values, instead of the percentages and you prefer the percentages, then add this to the bottom of the above search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| addtotals row=t col=f
| foreach Central East South West [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=100*&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;/Total]
| fields - Total
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Apr 2017 18:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340407#M100960</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-20T18:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340408#M100961</link>
      <description>&lt;P&gt;Thank you for your reply. However, stacked 100% is still showing 0 - 100 instead of 0% - 100%.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 08:12:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340408#M100961</guid>
      <dc:creator>mblauw</dc:creator>
      <dc:date>2017-04-26T08:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340409#M100962</link>
      <description>&lt;P&gt;I know this, but it will still display 0-100 instead of 0%-100%&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 08:12:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340409#M100962</guid>
      <dc:creator>mblauw</dc:creator>
      <dc:date>2017-04-26T08:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340410#M100963</link>
      <description>&lt;P&gt;There is no way to fix this with the srandard visualization in simpleXML but you should open an Enhancement Request to add support for unit labels.  Thr best that you can do is to set an axis label that says "percent of total" or something similar.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 13:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340410#M100963</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-26T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: FEATURE REQUEST - Show percentage values on the Y-axis of a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340411#M100964</link>
      <description>&lt;P&gt;@mblauw, refer to one of my answers for similar scenario. Ideally Display of &lt;CODE&gt;%&lt;/CODE&gt; in Y-axis label should be handled in Highcharts configuration itself. I have listed an override through jQuery to handle the same. There is an issue with &lt;CODE&gt;%&lt;/CODE&gt; disappearing when the browser resizes or edit/debug is attempted. However, refreshing the search in the panel with the chart should get the percent sign back.&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/2811i88448AA9D042E2B4/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;A href="https://answers.splunk.com/answers/598632/add-percent-sign-on-a-stacked-column-chart-data-la.html?childToView=598113#answer-598113"&gt;https://answers.splunk.com/answers/598632/add-percent-sign-on-a-stacked-column-chart-data-la.html?childToView=598113#answer-598113&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please try out the run anywhere example and confirm.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 03:23:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/FEATURE-REQUEST-Show-percentage-values-on-the-Y-axis-of-a-chart/m-p/340411#M100964</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-12-15T03:23:28Z</dc:date>
    </item>
  </channel>
</rss>

