<?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: color a pie chart slice in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522448#M35278</link>
    <description>&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;'s response:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;The command after |append ensure all series are always present and in the same sequence so that seriesColors can be applied. While testing you can randomly take out specific series like status=\"Progress\",count=10; to test that it creates a Process row with 0 count and 0%. Please try with seriesColors and confirm!&lt;/LI-CODE&gt;&lt;P&gt;Can you do it like this?&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 10:19:51 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2020-10-01T10:19:51Z</dc:date>
    <item>
      <title>color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522243#M35255</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a pie chart that shows me the count of all the alerts I get on my system, stats by severity.&lt;/P&gt;&lt;P&gt;Because I couldn't find a way to show the count (only the percentage) then I changed the name so it will contain both the severity name and the count (used eval function).&lt;/P&gt;&lt;P&gt;before I changed the name I used charting.fieldcolores to set a specific color to each severity(slice), now that the name constantly changing because the count is changing I wasn't able to set a color to each slice.&lt;/P&gt;&lt;P&gt;I tried using&amp;nbsp;charting.seriescolors but when I use that I cant determine that the critical severity will always get a red color and the warning gets orange and so... because the color is not set to a specific slice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to ask if there is a way I can set the colors regularly to a name when I don't have the full name of the slice, maybe using a (*) like- "Critical*" and then the slice that contain the word critical will always color in red?&lt;/P&gt;&lt;P&gt;If it is not possible, is there a way to show the count and not the percentage! without using eval and changing the slice name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all answers will help!&lt;/P&gt;&lt;P&gt;thanks!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 12:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522243#M35255</guid>
      <dc:creator>autoteam</dc:creator>
      <dc:date>2020-09-30T12:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522309#M35260</link>
      <description>Hi&lt;BR /&gt;Can you try this: &lt;A href="https://community.splunk.com/t5/Archive/How-to-assign-fixed-colors-to-pie-chart-with-dinamic-legend/m-p/447033" target="_blank"&gt;https://community.splunk.com/t5/Archive/How-to-assign-fixed-colors-to-pie-chart-with-dinamic-legend/m-p/447033&lt;/A&gt;&lt;BR /&gt;r. Ismo</description>
      <pubDate>Wed, 30 Sep 2020 16:16:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522309#M35260</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-30T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522445#M35275</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As I understand from the answer I still have a problem since I can't ensure that&amp;nbsp; all the labels will stay present because when the value is 0 it is absent. this is one of the things that bothered me with the seriescolor...&lt;/P&gt;&lt;P&gt;In addition I want to keep the count in the label name not to change it. I saw they used eval in the answer.&lt;/P&gt;&lt;P&gt;what can I do with those cases?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks again!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 10:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522445#M35275</guid>
      <dc:creator>autoteam</dc:creator>
      <dc:date>2020-10-01T10:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522446#M35276</link>
      <description>When you are using seriesColors it's not matter what labels you have. Only thing what you must ensure is the order and amount of those fields. That must be always fixed.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Thu, 01 Oct 2020 10:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522446#M35276</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-10-01T10:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522447#M35277</link>
      <description>&lt;P&gt;Ok, so how can I ensure that?&lt;/P&gt;&lt;P&gt;I tried setting the colors in the seriescolors by the order of the labels but sometimes the changed when I had a value of 0 and that's when my problem started...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 10:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522447#M35277</guid>
      <dc:creator>autoteam</dc:creator>
      <dc:date>2020-10-01T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522448#M35278</link>
      <description>&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;'s response:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;The command after |append ensure all series are always present and in the same sequence so that seriesColors can be applied. While testing you can randomly take out specific series like status=\"Progress\",count=10; to test that it creates a Process row with 0 count and 0%. Please try with seriesColors and confirm!&lt;/LI-CODE&gt;&lt;P&gt;Can you do it like this?&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 10:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522448#M35278</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-10-01T10:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522452#M35281</link>
      <description>&lt;P&gt;I will try first thing first on Sunday an let you know!&lt;/P&gt;&lt;P&gt;thank you so much!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 10:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522452#M35281</guid>
      <dc:creator>autoteam</dc:creator>
      <dc:date>2020-10-01T10:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: color a pie chart slice</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522850#M35306</link>
      <description>&lt;P&gt;It worked! thank you so much!&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 14:10:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/color-a-pie-chart-slice/m-p/522850#M35306</guid>
      <dc:creator>autoteam</dc:creator>
      <dc:date>2020-10-04T14:10:08Z</dc:date>
    </item>
  </channel>
</rss>

