<?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: setting colors on embed charts in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152980#M9366</link>
    <description>&lt;P&gt;I just tried to change background color of a report that displays a chart using the method described as above and it doesn't work, well it fails to load the settings when I restart splunk with the following errors, note I have also tried with quotes and without and also in ["0xffffff"] and ["#ffffff"] and [#ffffff], none of the options work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    Checking conf files for problems...
            Invalid key in stanza [PieChartByCountry_Report] in /opt/splunk/etc/apps/search/local/savedsearches.conf, line 31: display.visualizations.charting.backgroundColor  (value:  "#000000").
            Invalid key in stanza [PieChartByCountry_Report] in /opt/splunk/etc/apps/search/local/savedsearches.conf, line 32: display.visualizations.charting.fontColor  (value:  "#ffffff").
            Invalid key in stanza [PieChartByCountry_Report] in /opt/splunk/etc/apps/search/local/savedsearches.conf, line 33: display.visualizations.charting.foregroundColor  (value:  "#ffffff").
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I checked the documentation found at:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Admin/Savedsearchesconf#Display_Formatting_Options"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Admin/Savedsearchesconf#Display_Formatting_Options&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And there is no mention of these specific settings anywhere in this document, not even in the deprecated section of the document.&lt;/P&gt;

&lt;P&gt;errr uhmmmm so what gives here?&lt;/P&gt;

&lt;P&gt;Is it possible to change the background/foreground colors of an embedded report that displays a chart or not?&lt;/P&gt;

&lt;P&gt;I'd like a black background with white text foreground, is this at all possible?&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;BR /&gt;
Jim&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 02:05:02 GMT</pubDate>
    <dc:creator>jtsetsos</dc:creator>
    <dc:date>2019-09-17T02:05:02Z</dc:date>
    <item>
      <title>setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152972#M9358</link>
      <description>&lt;P&gt;Is there a way to set the colors on a chart used for embedding? I know you can do it on a dashboard, but I can't seem to find a way to do in for a report that is turned into an embedded chart. &lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2014 03:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152972#M9358</guid>
      <dc:creator>ulikabbq</dc:creator>
      <dc:date>2014-12-18T03:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152973#M9359</link>
      <description>&lt;P&gt;Me too! Anyone knows how to solve this problem?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 04:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152973#M9359</guid>
      <dc:creator>cljs0280</dc:creator>
      <dc:date>2016-01-20T04:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152974#M9360</link>
      <description>&lt;P&gt;Ditto. Would love to change the colors on embedded reports.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 16:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152974#M9360</guid>
      <dc:creator>jalward</dc:creator>
      <dc:date>2017-02-03T16:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152975#M9361</link>
      <description>&lt;P&gt;Can you post an example of how you are embedding the chart?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 18:52:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152975#M9361</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2017-02-03T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152976#M9362</link>
      <description>&lt;P&gt;Saving a search as a report. On the report I set a cron schedule, allow read permissions, then enable embedding. Splunk generates an iframe tag for export.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 19:27:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152976#M9362</guid>
      <dc:creator>jalward</dc:creator>
      <dc:date>2017-02-03T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152977#M9363</link>
      <description>&lt;P&gt;Found a clunky work around. Create the report via the GUI, set permissions, schedule it, enable embedding, etc. Then go to $SPLUNK_HOME/etc/apps/search/local/savedsearches.conf and find the stanza for the report you just made. In there you can add lines the same way you would edit a dashboard element via XML:&lt;BR /&gt;
colors of your bars, lines, etc:     display.visualizations.charting.seriesColors = ["0x5c2fb6"]&lt;BR /&gt;
color of the deliminations:          display.visualizations.charting.foregroundColor = #000000&lt;BR /&gt;
color of the axis and labels:        display.visualizations.charting.fontColor = #000000&lt;BR /&gt;
color of the background:             display.visualizations.charting.backgroundColor = #ffffff&lt;/P&gt;

&lt;P&gt;But, as far as I can tell, this file is not read on the fly, and you need to restart Splunk for any color changes to take effect.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 17:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152977#M9363</guid>
      <dc:creator>jalward</dc:creator>
      <dc:date>2017-02-06T17:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152978#M9364</link>
      <description>&lt;P&gt;Awesome!! It works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 04:44:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152978#M9364</guid>
      <dc:creator>mehala12</dc:creator>
      <dc:date>2017-08-17T04:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152979#M9365</link>
      <description>&lt;P&gt;great! I was looking for that for a while. I only hope it will not be overwritten after next change to the search&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 12:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152979#M9365</guid>
      <dc:creator>gesa_behrens</dc:creator>
      <dc:date>2018-09-27T12:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: setting colors on embed charts</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152980#M9366</link>
      <description>&lt;P&gt;I just tried to change background color of a report that displays a chart using the method described as above and it doesn't work, well it fails to load the settings when I restart splunk with the following errors, note I have also tried with quotes and without and also in ["0xffffff"] and ["#ffffff"] and [#ffffff], none of the options work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    Checking conf files for problems...
            Invalid key in stanza [PieChartByCountry_Report] in /opt/splunk/etc/apps/search/local/savedsearches.conf, line 31: display.visualizations.charting.backgroundColor  (value:  "#000000").
            Invalid key in stanza [PieChartByCountry_Report] in /opt/splunk/etc/apps/search/local/savedsearches.conf, line 32: display.visualizations.charting.fontColor  (value:  "#ffffff").
            Invalid key in stanza [PieChartByCountry_Report] in /opt/splunk/etc/apps/search/local/savedsearches.conf, line 33: display.visualizations.charting.foregroundColor  (value:  "#ffffff").
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I checked the documentation found at:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Admin/Savedsearchesconf#Display_Formatting_Options"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Admin/Savedsearchesconf#Display_Formatting_Options&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And there is no mention of these specific settings anywhere in this document, not even in the deprecated section of the document.&lt;/P&gt;

&lt;P&gt;errr uhmmmm so what gives here?&lt;/P&gt;

&lt;P&gt;Is it possible to change the background/foreground colors of an embedded report that displays a chart or not?&lt;/P&gt;

&lt;P&gt;I'd like a black background with white text foreground, is this at all possible?&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;BR /&gt;
Jim&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 02:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/setting-colors-on-embed-charts/m-p/152980#M9366</guid>
      <dc:creator>jtsetsos</dc:creator>
      <dc:date>2019-09-17T02:05:02Z</dc:date>
    </item>
  </channel>
</rss>

