<?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: How to place a solid border around a chart panel using XML/CSS? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219657#M64542</link>
    <description>&lt;P&gt;Hi, you can only use css inside of an HTML tag. So, if possible you should first of all try enclosing that part of the code with  HTML TAG.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2016 09:37:58 GMT</pubDate>
    <dc:creator>stephane_cyrill</dc:creator>
    <dc:date>2016-02-26T09:37:58Z</dc:date>
    <item>
      <title>How to place a solid border around a chart panel using XML/CSS?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219656#M64541</link>
      <description>&lt;P&gt;I'd like to place a solid border around a chart panel in XML - I'm struggling to comprehend how this is done within XML/CSS.&lt;/P&gt;

&lt;P&gt;I was able to add a border to the Single Value panels in the 'Image Overlay with Single Values' example from the Dashboard Examples app by modifying  the CSS as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.singleValue {
    font-size: 4em;
    font-weight: bold;
    background-size: cover;

    height: 100px;
    width: 100px;

    border-style: solid;
    border-color: #ff0000 #0000ff;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I understand this is done in an HTML panel.&lt;/P&gt;

&lt;P&gt;I have  limited CSS / XML experience and have spent several hours attempting to figure out how to apply this to a chart panel in XML.&lt;/P&gt;

&lt;P&gt;I have attempted to apply a Class directly in the xml &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Eg  &amp;lt;chart class="ColourBorder"&amp;gt;

.ColourBorder {

    border-color: #ff0000 #0000ff
    border-style: solid;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe I have this all fundamentally muddled.&lt;/P&gt;

&lt;P&gt;thank you.&lt;/P&gt;

&lt;P&gt;MB&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 02:31:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219656#M64541</guid>
      <dc:creator>MB2016</dc:creator>
      <dc:date>2016-02-26T02:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to place a solid border around a chart panel using XML/CSS?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219657#M64542</link>
      <description>&lt;P&gt;Hi, you can only use css inside of an HTML tag. So, if possible you should first of all try enclosing that part of the code with  HTML TAG.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 09:37:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219657#M64542</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2016-02-26T09:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to place a solid border around a chart panel using XML/CSS?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219658#M64543</link>
      <description>&lt;P&gt;the question is how? I'm struggling to figure this how - how do you place a CHART panel within the HTML to reference the CSS to turn borders on?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219658#M64543</guid>
      <dc:creator>MB2016</dc:creator>
      <dc:date>2016-02-29T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to place a solid border around a chart panel using XML/CSS?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219659#M64544</link>
      <description>&lt;P&gt;Did you try placing a .css file in SPLUNK_HOME/et/apps/your_app/appserver/static and referencing it with this in your dashboard XML:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form stylesheet="your_file.css"&amp;gt;
  &amp;lt;fieldset ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(You can also place stylesheet="your_file.css" in the &lt;CODE&gt;dashboard&lt;/CODE&gt; tag if you don't have inputs in your dashboard). After that, don't forget to restart splunkweb (or call debug/refresh) and clear your browser cache.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-place-a-solid-border-around-a-chart-panel-using-XML-CSS/m-p/219659#M64544</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2020-09-29T08:56:38Z</dc:date>
    </item>
  </channel>
</rss>

