<?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: Can we set two different colors for single-value and trend line in XML? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314908#M20202</link>
    <description>&lt;P&gt;@mdorobek, I am sorry, I think that is because custom JavaScript has been used in the dashboard. Even &lt;CODE&gt;Export PDF&lt;/CODE&gt; to generate sample PDF is loosing the JavaScript changes (I am suspecting this is similar behavior as compare to Export PDF and Scheduled PDF Delivery not available in HTML Dashboard). Print Dashboard works, but I am not sure if that will be helpful.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 11:09:37 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-10-23T11:09:37Z</dc:date>
    <item>
      <title>Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314901#M20195</link>
      <description>&lt;P&gt;A single value in Splunk has the following simple xml code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;single&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;trend&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="height"&amp;gt;150&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,30,70,100]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;inverse&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendInterval"&amp;gt;-1mon&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The option "colorBy" allows the values "trend" and "value". &lt;/P&gt;

&lt;P&gt;The left image is an example for the color by value, the right one for a panel with the color by trend:&lt;BR /&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/3685iF2A9E749C9282E03/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;I would like to have both options enabled in my panel. Is there a possibility in simple xml to set the color of the single value and the trend seperated in one panel?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314901#M20195</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2017-10-17T08:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314902#M20196</link>
      <description>&lt;P&gt;@mdorobek Could you please add some sample screenshots? What if Value is Red and Trend is Red or vice-versa for both?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 17:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314902#M20196</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-17T17:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314903#M20197</link>
      <description>&lt;P&gt;I did add a picture. I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 07:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314903#M20197</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2017-10-18T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314904#M20198</link>
      <description>&lt;P&gt;Per the current documentation, color by is a binary option, "value" or "trend".&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/PanelreferenceforSimplifiedXML#single_value"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/PanelreferenceforSimplifiedXML#single_value&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 02:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314904#M20198</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-10-19T02:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314905#M20199</link>
      <description>&lt;P&gt;Hello DalJeanis, &lt;BR /&gt;
I have read the documentation and I am aware that colorby is a binary option. Yet I have the hope that someone knows an existing workaround.&lt;/P&gt;

&lt;P&gt;If there is no other answer in a few days, I'll accept the answer and close the question.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 05:02:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314905#M20199</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2017-10-19T05:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314906#M20200</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/204149"&gt;@mdorobek&lt;/a&gt;, as far as you are not using the colorMode as Block, you can have color by trend and color by value both, provided one of them you override using JavaScript. If the Color mode is Block, then the following may not be applicable as Trend Color and Range Value color may be the same leading to Font Color and Background color becoming same. Based on your sample screenshot, you do not seem to be coloring Single Values using Block mode.&lt;/P&gt;

&lt;P&gt;I have created the following example by applying &lt;CODE&gt;Color By Trend&lt;/CODE&gt; and then overriding &lt;CODE&gt;Color by Range&lt;/CODE&gt; based on Single Value Result using JavaScript.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/217922-singlevaluecolorbytrendandoverridecolorbyrange.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Following is the run anywhere dashboard based on Splunk's _internal index. It counts number of Splunkd Errors (all log_levels other than INFO like WARN, ERROR, FATAL etc). Each Single Value is for separate day until the current time in HH:MM:SS. Each single Value has been explicitly given an &lt;CODE&gt;id&lt;/CODE&gt;, in SimpleXML, to be used while selecting the Single Value using JavaScript i.e. &lt;CODE&gt;single1&lt;/CODE&gt;, &lt;CODE&gt;single2&lt;/CODE&gt; and &lt;CODE&gt;single3&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard script="single_value_color_by_value.js"&amp;gt;
  &amp;lt;label&amp;gt;Single Value Colors by Value and Trend&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;single1 - Splunkd errors 7 days ago until current HH:MM:SS&amp;lt;/title&amp;gt;
      &amp;lt;single id="single1"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
|  timechart count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-7d@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;-6d@s&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;trend&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0xf7bc38","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,70]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;single2 - Splunkd errors yesterday until current HH:MM:SS&amp;lt;/title&amp;gt;
      &amp;lt;single id="single2"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
|  timechart count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-1d@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;-0d@s&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;trend&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0xf7bc38","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,70]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;single3 - Splunkd errors today until current HH:MM:SS&amp;lt;/title&amp;gt;
      &amp;lt;single id="single3"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd log_level!="INFO"
|  timechart count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-0d@d&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;@s&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;trend&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0xf7bc38","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,70]&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.scales.shared"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trellis.size"&amp;gt;medium&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="unitPosition"&amp;gt;after&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&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;Following is the JavaScript &lt;CODE&gt;single_value_color_by_value.js&lt;/CODE&gt; for overriding  Single Value Results color based on value. Place the JavaScript file in your Splunk App's static folder which is typically &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;YourAppName&amp;gt;/appserver/static&lt;/CODE&gt;.&lt;BR /&gt;
Following JavaScript selected Single Values on the dashboard and then passes one the Selected Single Value Result text to JavaScript function which applies color through CSS style (on the same idea you can go ahead and make it more generic by applying &lt;CODE&gt;each()&lt;/CODE&gt; and &lt;CODE&gt;addClass()&lt;/CODE&gt; jQuery functions):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
    "splunkjs/mvc",
    "splunkjs/mvc/simplexml/ready!"
], function(
            mvc
            ) {
    //Function to define range to override colors for Selected Single Value based on Single Value Result
    function OverrideColorRangeByValue(selectedElement,singleValueResultIN){
        switch (true) {
            case singleValueResultIN&amp;gt;=0 &amp;amp;&amp;amp; singleValueResultIN&amp;lt;70:
                selectedElement.css("fill", "green");
                break;
            case singleValueResultIN&amp;gt;=70 &amp;amp;&amp;amp; singleValueResultIN&amp;lt;90:
                selectedElement.css("fill", "yellow");
                break;
            case singleValueResultIN&amp;gt;=90:
                selectedElement.css("fill", "red");
                break;
            default:
                selectedElement.css("fill", "grey");
        }
    }

    //Get Single Value by id=single1 set in SimpleXML &amp;lt;single id="single1"&amp;gt;
    mvc.Components.get('single1').getVisualization(function(singleView) {
        singleView.on('rendered', function() {      
            if($("#single1 .single-result").text()!== undefined){
                //Get the Single Value Result from &amp;lt;text&amp;gt; svg node with class "single-result"
                singleValueResult=parseFloat($("#single1 .single-result").text());
                OverrideColorRangeByValue($("#single1 .single-result"),singleValueResult);
            }
        });
    });
    //Get Single Value by id=single2 set in SimpleXML &amp;lt;single id="single2"&amp;gt;
    mvc.Components.get('single2').getVisualization(function(singleView) {
        singleView.on('rendered', function() {      
            if($("#single2 .single-result").text()!== undefined){
                //Get the Single Value Result from &amp;lt;text&amp;gt; svg node with class "single-result"
                singleValueResult=parseFloat($("#single2 .single-result").text());
                OverrideColorRangeByValue($("#single2 .single-result"),singleValueResult);
            }
        });
    });
    //Get Single Value by id=single3 set in SimpleXML &amp;lt;single id="single3"&amp;gt; 
    mvc.Components.get('single3').getVisualization(function(singleView) {
        singleView.on('rendered', function() {      
            if($("#single3 .single-result").text()!== undefined){
                //Get the Single Value Result from &amp;lt;text&amp;gt; svg node with class "single-result"
                singleValueResult=parseFloat($("#single3 .single-result").text());
                OverrideColorRangeByValue($("#single3 .single-result"),singleValueResult);
            }
        });
    }); 
});
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: Since this requires JavaScript Static file, you might be required to restart/refresh/bump Splunk environment and may also need to clear your internet browser history.&lt;/P&gt;

&lt;P&gt;Please try out and confirm.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:22:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314906#M20200</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314907#M20201</link>
      <description>&lt;P&gt;@niketnilay the answer works perfectly. Sadly it doesn't work for scheduled pdf delivery.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314907#M20201</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2017-10-23T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314908#M20202</link>
      <description>&lt;P&gt;@mdorobek, I am sorry, I think that is because custom JavaScript has been used in the dashboard. Even &lt;CODE&gt;Export PDF&lt;/CODE&gt; to generate sample PDF is loosing the JavaScript changes (I am suspecting this is similar behavior as compare to Export PDF and Scheduled PDF Delivery not available in HTML Dashboard). Print Dashboard works, but I am not sure if that will be helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 11:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314908#M20202</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-23T11:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314909#M20203</link>
      <description>&lt;P&gt;@niketnilay Theres no need to say sorry, I am more than pleased with youre answer. Atleast i can screenshot the panels and use them in some presentations &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 05:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314909#M20203</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2017-10-24T05:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314910#M20204</link>
      <description>&lt;P&gt;I followed this answer with 3 panels, and it's worked!&lt;BR /&gt;
But when I have too many panels (such as 20), some panels's "rendered"  events callback function are seemly  not called while some panels's will be called randomly (for example, I press F5, panel1/panel2's function are called, panel3/panel4's function are not called.  I press F5 again, panel3/panel4's function are called, panel1/panel2's function are not called. ).&lt;BR /&gt;
can someone resolve?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 04:08:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314910#M20204</guid>
      <dc:creator>liuwei654</dc:creator>
      <dc:date>2018-01-03T04:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314911#M20205</link>
      <description>&lt;P&gt;@niketnilay . its worked perfectly .. thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 09:49:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314911#M20205</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2018-09-11T09:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can we set two different colors for single-value and trend line in XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314912#M20206</link>
      <description>&lt;P&gt;@premranjithj glad it worked. Do up-vote the answer if it helped.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 13:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-set-two-different-colors-for-single-value-and-trend-line/m-p/314912#M20206</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-09-11T13:50:22Z</dc:date>
    </item>
  </channel>
</rss>

