<?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 can I show different colors to match specific ranges on a single value dashboard panel? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351536#M22919</link>
    <description>&lt;P&gt;I am working on a single value dashboard panel where I am showing results in percentage. I want to show different range in different colors. So, I have defined the below range:&lt;BR /&gt;
min to 30.99 -&amp;gt; green&lt;BR /&gt;
30.99 to 60.99 -&amp;gt; yellow&lt;BR /&gt;
60.99 to 89.99 -&amp;gt; amber&lt;BR /&gt;
89.99 to max -&amp;gt; red&lt;BR /&gt;
in the XML form, there are 4 values inside rangeColors (green, yellow, amber, red) and 3 values (30.99, 60.99, 89.99) inside rangeValues.&lt;/P&gt;

&lt;P&gt;The above definition is showing 0.00 in red (!), when it should be shown in green. Could you advise me on this please?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2017 06:18:08 GMT</pubDate>
    <dc:creator>barunbiswas</dc:creator>
    <dc:date>2017-09-20T06:18:08Z</dc:date>
    <item>
      <title>How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351536#M22919</link>
      <description>&lt;P&gt;I am working on a single value dashboard panel where I am showing results in percentage. I want to show different range in different colors. So, I have defined the below range:&lt;BR /&gt;
min to 30.99 -&amp;gt; green&lt;BR /&gt;
30.99 to 60.99 -&amp;gt; yellow&lt;BR /&gt;
60.99 to 89.99 -&amp;gt; amber&lt;BR /&gt;
89.99 to max -&amp;gt; red&lt;BR /&gt;
in the XML form, there are 4 values inside rangeColors (green, yellow, amber, red) and 3 values (30.99, 60.99, 89.99) inside rangeValues.&lt;/P&gt;

&lt;P&gt;The above definition is showing 0.00 in red (!), when it should be shown in green. Could you advise me on this please?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351536#M22919</guid>
      <dc:creator>barunbiswas</dc:creator>
      <dc:date>2017-09-20T06:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351537#M22920</link>
      <description>&lt;P&gt;hi, can you share the xml piece of code where you are doing this?&lt;BR /&gt;
As it is of course , this looks perfect but it would be better to see your xml code where you are setting the range colours&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351537#M22920</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-20T06:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351538#M22921</link>
      <description>&lt;P&gt;Please find below the xml code for this.&lt;/P&gt;

&lt;P&gt;["0x65a637","0xf7bc38","0xf58f39",0xd93f3c"]&lt;BR /&gt;
[30.99,60.99,89.99]&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 08:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351538#M22921</guid>
      <dc:creator>barunbiswas</dc:creator>
      <dc:date>2017-09-20T08:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351539#M22922</link>
      <description>&lt;P&gt;Did you try by changing them from the UI ?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 20:18:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351539#M22922</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2017-09-20T20:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351540#M22923</link>
      <description>&lt;P&gt;yes, tried. However, it is not working correctly always. Here, I am saying always because sometimes it showing color correctly, sometimes not. It seems something is not correct with the Splunk options itself, however, not sure.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 08:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351540#M22923</guid>
      <dc:creator>barunbiswas</dc:creator>
      <dc:date>2017-09-21T08:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351541#M22924</link>
      <description>&lt;P&gt;i created a dashboard using &lt;CODE&gt;|makeresults|eval data=0.00&lt;/CODE&gt; and put those values into my format and it seems to work. I'm using Splunk v 6.6.2. what version are you on? This might be worth a support ticket.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;randomtest&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;|makeresults|eval data=0.00&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0.00&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[30.99,60.99,89.99]&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Oct 2017 19:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351541#M22924</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-10-05T19:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351542#M22925</link>
      <description>&lt;P&gt;@barunbiswas, can you share the other Single Value Simple XML Configuration options? By any chance have you chosen the option to color by trend?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 14:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351542#M22925</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-06T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I show different colors to match specific ranges on a single value dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351543#M22926</link>
      <description>&lt;P&gt;Hey  @barunbiswas &lt;BR /&gt;
please try below code, hope it will help you!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;splunk_answer&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | stats count | eval count=0&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0.00&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x53a051","0xFFFF00","0xffbf00","0xdc4e41"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[30.99,60.99,89.99]&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&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/3532i59F895E8C429AABB/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>Fri, 12 Apr 2019 09:16:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-show-different-colors-to-match-specific-ranges-on-a/m-p/351543#M22926</guid>
      <dc:creator>riddhichandaran</dc:creator>
      <dc:date>2019-04-12T09:16:41Z</dc:date>
    </item>
  </channel>
</rss>

