<?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 enlarge the size of a caption underneath a singe-value visualization in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446839#M29369</link>
    <description>&lt;P&gt;Thank you very much @vnravikumar &lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 18:11:41 GMT</pubDate>
    <dc:creator>horsefez</dc:creator>
    <dc:date>2019-02-12T18:11:41Z</dc:date>
    <item>
      <title>How to enlarge the size of a caption underneath a singe-value visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446836#M29366</link>
      <description>&lt;P&gt;Hi dashboard-pro's, &lt;/P&gt;

&lt;P&gt;I have a question about formatting the text you are able to add underneath the value of a single-value visualization. Also called the "caption".&lt;BR /&gt;
I want to make it bigger in size, however I didn't get it to work with CSS. &lt;BR /&gt;
Please kindly show me a way how to do it. I know that it was possible in the past. I'm using splunk in version 7.2.3.&lt;/P&gt;

&lt;P&gt;I've already found this post by the ever-great @niketnilay , but apparently that way doesn't work anymore.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/513196/how-to-change-the-font-size-and-color-of-the-capti.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev"&gt;https://answers.splunk.com/answers/513196/how-to-change-the-font-size-and-color-of-the-capti.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;

&lt;P&gt;Regards, &lt;BR /&gt;
horsefez&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 15:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446836#M29366</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2019-02-06T15:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to enlarge the size of a caption underneath a singe-value visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446837#M29367</link>
      <description>&lt;P&gt;Hi @pyro_wood&lt;/P&gt;

&lt;P&gt;Please try and let me know&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;singlevalue&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
       &amp;lt;style type="text/css"&amp;gt;
       #test .under-label {
          font-size: 20px !important;
       }
       &amp;lt;/style&amp;gt;
     &amp;lt;/html&amp;gt;
      &amp;lt;single id="test"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | stats count as count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$latest$&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="field"&amp;gt;count&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;Value&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;</description>
      <pubDate>Sat, 09 Feb 2019 17:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446837#M29367</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-09T17:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to enlarge the size of a caption underneath a singe-value visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446838#M29368</link>
      <description>&lt;P&gt;@pyro_wood  the &lt;CODE&gt;&amp;gt;&lt;/CODE&gt; sign strictly looks for specified nodes arranged in the same hierarchy in the &lt;CODE&gt;&amp;lt;html&amp;gt;&lt;/CODE&gt; DOM element. You can either remove the &lt;CODE&gt;&amp;gt;&lt;/CODE&gt; signs or reduce to specific root and leaf nodes in the CSS selector as per your need, the example provided by @vnravikumar does the second.&lt;/P&gt;

&lt;P&gt;First step is to add ID to Splunk element ie. at &lt;CODE&gt;&amp;lt;row&amp;gt;&lt;/CODE&gt;, &lt;CODE&gt;&amp;lt;panel&amp;gt;&lt;/CODE&gt; or specific view level like in the following example it is at &lt;CODE&gt;&amp;lt;single&amp;gt;&lt;/CODE&gt; value level. &lt;/P&gt;

&lt;P&gt;Second step is to right click an element and get the CSS selector for specifi destination node, in this case &lt;CODE&gt;&amp;lt;text&amp;gt;&lt;/CODE&gt; with class &lt;CODE&gt;under-label&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;7.2&lt;/CODE&gt; has alot of changes in the way &lt;CODE&gt;&amp;lt;html&amp;gt;&lt;/CODE&gt; components are created in the Splunk Dashboards. So do use Browser Inspector to investigate and ensure whether correct CSS Override is being applied or not: &lt;A href="https://answers.splunk.com/answers/590387/how-do-i-update-panel-color-in-splunk-using-css-1.html"&gt;https://answers.splunk.com/answers/590387/how-do-i-update-panel-color-in-splunk-using-css-1.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Following is the updated CSS style without &lt;CODE&gt;&amp;gt;&lt;/CODE&gt; sign which should work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #mySingleValue svg g.single-value-under-label g.single-value-label g.under-label-group g.svg-label text.under-label{
               font-size: 150% !important;
               fill: black !important;
               font-weight: bold !important;
           }          
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;single id="mySingleValue"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults
          | fields - _time
          | eval data=100
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;Test Under Label&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 09 Feb 2019 18:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446838#M29368</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-02-09T18:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to enlarge the size of a caption underneath a singe-value visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446839#M29369</link>
      <description>&lt;P&gt;Thank you very much @vnravikumar &lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 18:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446839#M29369</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2019-02-12T18:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to enlarge the size of a caption underneath a singe-value visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446840#M29370</link>
      <description>&lt;P&gt;Thank you @niketnilay for that in-depth explanation. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 18:12:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446840#M29370</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2019-02-12T18:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to enlarge the size of a caption underneath a singe-value visualization</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446841#M29371</link>
      <description>&lt;P&gt;Welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 01:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enlarge-the-size-of-a-caption-underneath-a-singe-value/m-p/446841#M29371</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-13T01:03:45Z</dc:date>
    </item>
  </channel>
</rss>

