<?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 Chart Series colors keep rearranging themselves. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58649#M14373</link>
    <description>&lt;P&gt;I have a timechart area chart that shows three types of event over time ("Node up", "Node Down' and "Node Rebooted").  I want the "Node UP" series to show in green, "Node Down" in red and "Node Rebooted" in yellow.  I was able to get what I wanted using: [0xFFEE33,0x00FF00,0xFF0000]&lt;/P&gt;

&lt;P&gt;However, I find that from time to time, the colors become rearranged.  "Node UP" might become yellow, "Node Down" green and "Node Rebooted" Red.  Whenthis happens, I have to rearrange the colors in the charting.seriesColors until I get it right.  However, after some time, the colors change again.&lt;/P&gt;

&lt;P&gt;How can I explicitly set the colors for each series so that each type of event always has the same color?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2012 14:19:40 GMT</pubDate>
    <dc:creator>ocallender</dc:creator>
    <dc:date>2012-12-10T14:19:40Z</dc:date>
    <item>
      <title>Chart Series colors keep rearranging themselves.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58649#M14373</link>
      <description>&lt;P&gt;I have a timechart area chart that shows three types of event over time ("Node up", "Node Down' and "Node Rebooted").  I want the "Node UP" series to show in green, "Node Down" in red and "Node Rebooted" in yellow.  I was able to get what I wanted using: [0xFFEE33,0x00FF00,0xFF0000]&lt;/P&gt;

&lt;P&gt;However, I find that from time to time, the colors become rearranged.  "Node UP" might become yellow, "Node Down" green and "Node Rebooted" Red.  Whenthis happens, I have to rearrange the colors in the charting.seriesColors until I get it right.  However, after some time, the colors change again.&lt;/P&gt;

&lt;P&gt;How can I explicitly set the colors for each series so that each type of event always has the same color?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2012 14:19:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58649#M14373</guid>
      <dc:creator>ocallender</dc:creator>
      <dc:date>2012-12-10T14:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Series colors keep rearranging themselves.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58650#M14374</link>
      <description>&lt;P&gt;I think what you're looking for is here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Viz/Chartcustomization"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Viz/Chartcustomization&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;search on the page for charting.legend.masterLegend&lt;BR /&gt;
Color assignments (colors to series, series labeled by legend) are index based. (like an array, not a Spunk index) and they're controlled by the "Master Legend". If you have multiple charts, there will be Slave Legends as well. &lt;/P&gt;

&lt;P&gt;There are nice clear examples of Simple XML and Advanced XML on the doc page.&lt;BR /&gt;
This should help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 15:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58650#M14374</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2013-03-15T15:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Series colors keep rearranging themselves.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58651#M14375</link>
      <description>&lt;P&gt;The current reference for &lt;CODE&gt;charting.legend.masterLegend&lt;/CODE&gt; (and all other chart configuration) is: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 10:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58651#M14375</guid>
      <dc:creator>DominikGM</dc:creator>
      <dc:date>2016-08-24T10:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Series colors keep rearranging themselves.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58652#M14376</link>
      <description>&lt;P&gt;I was able to use charting.fieldColors as below to hard code color based on fields/series.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;option name="charting.fieldColors"&amp;gt;{"average\: duration":0x6666ff,"cnt\: fail":0xff4d4d,"cnt\: success":0x80ff80}&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Mar 2020 22:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-Series-colors-keep-rearranging-themselves/m-p/58652#M14376</guid>
      <dc:creator>nmshaikh</dc:creator>
      <dc:date>2020-03-26T22:02:50Z</dc:date>
    </item>
  </channel>
</rss>

