<?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 can I add a percentage sign to the radial gauge number that is displayed ? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440375#M42099</link>
    <description>&lt;P&gt;hi @lucasdc  this might not be possible at all using default config.&lt;BR /&gt;
However, there is a fantastic answer already from @niketnilay which i have used and can vouch for&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/717431/how-can-i-add-a-percentage-sign-to-the-radial-gaug.html"&gt;https://answers.splunk.com/answers/717431/how-can-i-add-a-percentage-sign-to-the-radial-gaug.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2019 17:58:12 GMT</pubDate>
    <dc:creator>Sukisen1981</dc:creator>
    <dc:date>2019-05-06T17:58:12Z</dc:date>
    <item>
      <title>How can I add a percentage sign to the radial gauge number that is displayed ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440374#M42098</link>
      <description>&lt;P&gt;Hi splunkers! &lt;/P&gt;

&lt;P&gt;I got this query and I would like to display the percentage symbol in a radial gauge , but it doenst display the number with "%" inside of the gauge.&lt;/P&gt;

&lt;P&gt;What do I have to do for get this done?&lt;BR /&gt;
index="db_archer2" sourcetype="db_archer2"  "C_xE1lculo ponto Aberto _ Fechado"="Aberto" "Criticidad _CVSS"="Cr\xEDtico"OR"Criticidad _CVSS"="Alta"  "Risco Atual do ponto"="Real" "Gestion vulnerabilidades"="Web Gestionadas Internamente"OR"Gestion vulnerabilidades"="Webs Externalizadas"OR"Gestion vulnerabilidades"="Apps M\xF3viles" "Respons_xE1vel T_xE9cnico pela Corre_xE7_xE3o"!="Equipe Fraudes" "Nome do Projeto"!="Cyber-Hunting"OR"Nome do Projeto"!="Purple Team""Torre DTI"!="Coligada - Zurich"OR"Torre DTI"!="Coligada - SuperDigital"OR"Torre DTI"!="Coligada - Ole"OR"Torre DTI"!="Coligada - S3"OR"Torre DTI"!="Coligada - GetNet"OR"Torre DTI"!="Coligada - Universia" &lt;BR /&gt;
| stats count as IFA&lt;BR /&gt;
| eval IFA = round((IFA/156)*100, 2)&lt;BR /&gt;
| eval IFA =tostring('IFA')."%"&lt;BR /&gt;
| gauge IFA 0 1 3 4&lt;/P&gt;

&lt;P&gt;Thanks for advance!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440374#M42098</guid>
      <dc:creator>lucasdc</dc:creator>
      <dc:date>2020-09-30T00:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a percentage sign to the radial gauge number that is displayed ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440375#M42099</link>
      <description>&lt;P&gt;hi @lucasdc  this might not be possible at all using default config.&lt;BR /&gt;
However, there is a fantastic answer already from @niketnilay which i have used and can vouch for&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/717431/how-can-i-add-a-percentage-sign-to-the-radial-gaug.html"&gt;https://answers.splunk.com/answers/717431/how-can-i-add-a-percentage-sign-to-the-radial-gaug.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 17:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440375#M42099</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-05-06T17:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a percentage sign to the radial gauge number that is displayed ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440376#M42100</link>
      <description>&lt;P&gt;@lucasdc do try out and confirm. Accept the answer if it resolves your issue, if not let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 02:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440376#M42100</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-05-07T02:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a percentage sign to the radial gauge number that is displayed ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440377#M42101</link>
      <description>&lt;P&gt;I have tried this script but I dont know where I gotta put this second part of the code:&lt;/P&gt;

&lt;P&gt;require([&lt;BR /&gt;
     'jquery',&lt;BR /&gt;
     'splunkjs/mvc',&lt;BR /&gt;
     'splunkjs/mvc/simplexml/ready!'&lt;BR /&gt;
 ], function ($,mvc) {&lt;BR /&gt;
     console.log("Script Started");&lt;BR /&gt;
     var unsubmittedTokenModel=mvc.Components.get("default");&lt;BR /&gt;
     mvc.Components.get("my_radial_gauge").getVisualization(function(chartView) {&lt;BR /&gt;
         chartView.on('rendered', function() {&lt;BR /&gt;
             setTimeout(function(){&lt;BR /&gt;
                 var strResultColor=unsubmittedTokenModel.get("tokResultColor");&lt;BR /&gt;
                 if(strResultColor!==undefined){&lt;BR /&gt;
                     console.log("strResultColor: ",strResultColor);&lt;BR /&gt;
                     $("#my_radial_gauge svg text:last-child").css("fill",strResultColor);&lt;BR /&gt;
                     $("#my_radial_gauge svg text:last-child").append( " %" );&lt;BR /&gt;
                 }&lt;BR /&gt;
             },100);&lt;BR /&gt;
         });&lt;BR /&gt;
     });&lt;BR /&gt;
 });&lt;/P&gt;

&lt;P&gt;Could you guys help me to find out ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-add-a-percentage-sign-to-the-radial-gauge-number-that/m-p/440377#M42101</guid>
      <dc:creator>lucasdc</dc:creator>
      <dc:date>2020-09-30T00:26:41Z</dc:date>
    </item>
  </channel>
</rss>

