<?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 change the font size of the title and legend of a dashboard panel in Splunk 6.x? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155542#M9508</link>
    <description>&lt;P&gt;Thank you for your response markthompson.&lt;BR /&gt;
I convert dashboard to HTML and then I add "class=test" in h3 tag in HTML&lt;BR /&gt;
for example, ＜h3　class="test "＞testTaitle＜/h3＞&lt;/P&gt;

&lt;P&gt;Then, I created css file like below&lt;BR /&gt;
.test {&lt;BR /&gt;
        font-size: 16px;&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Therefore,I change font size for the title. &lt;BR /&gt;
Though, I don't know that change font size for the legend.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2014 08:32:36 GMT</pubDate>
    <dc:creator>akanno</dc:creator>
    <dc:date>2014-10-08T08:32:36Z</dc:date>
    <item>
      <title>How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155539#M9505</link>
      <description>&lt;P&gt;Hi, splunk community.&lt;/P&gt;

&lt;P&gt;We want to change to font size of title and legend of panel in dashboard.&lt;BR /&gt;
In splunk v5,change to font size of legend by setting to &lt;BR /&gt;
" ＜option name="charting.legend.labelStyle.defaultTextFormat"＞ {italic:true,size:16}＜/option＞" in XML&lt;/P&gt;

&lt;P&gt;below link is manual&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-ChartLegend"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-ChartLegend&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;However,it's parameter is nothing in splunk v6.&lt;/P&gt;

&lt;P&gt;And so, we will try to set css.&lt;BR /&gt;
Though,we do not know selector of title and legend of panel in dashboard.&lt;/P&gt;

&lt;P&gt;Please help me.&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/103i4F75EB38C18558A4/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;&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/104i1FF5C6AC34EEA0E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155539#M9505</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2014-10-08T05:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155540#M9506</link>
      <description>&lt;P&gt;You can always convert dashboard to HTML and then change it using HTML code.  Embedded CSS.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 08:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155540#M9506</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2014-10-08T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155541#M9507</link>
      <description>&lt;P&gt;Hi akanno,&lt;/P&gt;

&lt;P&gt;you can extend your simple xml dashboard with custom css styles. You can simply import a css file within the dashboard or form tag like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard stylesheet="myStyleSheet.css"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here you can get informations about the details: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/CustomizeSimpleXML#CSS_and_JavaScript"&gt;link&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The selector of the element you want can be found by using the developer tools of your browser. It should be something like rightclick the element and in the menue chose "inspect element".&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 08:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155541#M9507</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-10-08T08:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155542#M9508</link>
      <description>&lt;P&gt;Thank you for your response markthompson.&lt;BR /&gt;
I convert dashboard to HTML and then I add "class=test" in h3 tag in HTML&lt;BR /&gt;
for example, ＜h3　class="test "＞testTaitle＜/h3＞&lt;/P&gt;

&lt;P&gt;Then, I created css file like below&lt;BR /&gt;
.test {&lt;BR /&gt;
        font-size: 16px;&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Therefore,I change font size for the title. &lt;BR /&gt;
Though, I don't know that change font size for the legend.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 08:32:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155542#M9508</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2014-10-08T08:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155543#M9509</link>
      <description>&lt;P&gt;Can you post the HTML it's giving for the legend, or you could right click and inspect element and see what CSS classes are on the legend, and adapt those with your embedded css.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 08:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155543#M9509</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2014-10-08T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155544#M9510</link>
      <description>&lt;P&gt;Hi Tom,&lt;BR /&gt;
Thank you for response.&lt;/P&gt;

&lt;P&gt;I found a selector in the way you told me.&lt;BR /&gt;
Selector I found is "g.highcharts-legend"&lt;BR /&gt;
Therefore,I set following in css&lt;/P&gt;

&lt;P&gt;g.highcharts-legend {&lt;BR /&gt;
        font-size: 56px;&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;However,font size of legend don't change.&lt;BR /&gt;
Why?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 09:13:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155544#M9510</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2014-10-08T09:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155545#M9511</link>
      <description>&lt;P&gt;I posted the html source.&lt;BR /&gt;
I am sorry for the difficult to see&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 09:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155545#M9511</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2014-10-08T09:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155546#M9512</link>
      <description>&lt;P&gt;Can you try this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;g.highcharts-legend-item:nth-child(1) &amp;gt; text:nth-child(2) &amp;gt; tspan:nth-child(1) {
  font-size: 56px;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should manipulate at least the first item of the legend.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 09:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155546#M9512</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-10-08T09:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155547#M9513</link>
      <description>&lt;P&gt;Thank you very much!&lt;BR /&gt;
It is great!!&lt;BR /&gt;
I can change font size.&lt;/P&gt;

&lt;P&gt;I'd like to ask another one,&lt;BR /&gt;
I set following in css&lt;/P&gt;

&lt;P&gt;h3 {&lt;BR /&gt;
    font-size: 56px;&lt;BR /&gt;
} &lt;/P&gt;

&lt;P&gt;Then,font size of all panel title is changed.&lt;BR /&gt;
However,I want to change only second panel title.&lt;BR /&gt;
How set in css?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 10:22:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155547#M9513</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2014-10-08T10:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155548#M9514</link>
      <description>&lt;P&gt;Use a class such as &lt;BR /&gt;
.size {&lt;BR /&gt;
font-size: 56px;&lt;BR /&gt;
}&lt;BR /&gt;
and then for the h3 put h3 class="size" and it will change just thsoe that have class="size" applied.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 10:35:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155548#M9514</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2014-10-08T10:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155549#M9515</link>
      <description>&lt;P&gt;Try this one:&lt;/P&gt;

&lt;P&gt;#element2 &amp;gt; div:nth-child(1) &amp;gt; h3:nth-child(2){&lt;BR /&gt;
       font-size: 56px;&lt;BR /&gt;
     }&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:12:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155549#M9515</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-10-08T11:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155550#M9516</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 00:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155550#M9516</guid>
      <dc:creator>akanno</dc:creator>
      <dc:date>2014-10-09T00:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155551#M9517</link>
      <description>&lt;P&gt;Reading through the other answer I think they covered it off nicely.  Just adding a comment to show what I ended up doing in case it helps anyone else who isn't very familiar with CSS and HTML.  I converted the dashboard to HTML and then added a section to make the title WAY bigger.  Using this on a TV in the dev area and wanted people all around this end of the floor to be able to easily see it.  I've &lt;STRONG&gt;bolded&lt;/STRONG&gt; the text I added. &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt; /&amp;gt;
 href="{{SPLUNKWEB_URL_PREFIX}}/static/build/css/bootstrap-enterprise.css"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/&amp;gt;&lt;BR /&gt;
     href="{{SPLUNKWEB_URL_PREFIX}}/static/css/build/pages/dashboard-simple-bootstrap.min.css"&lt;BR /&gt;
/&amp;gt;&lt;BR /&gt;
     href="{{SPLUNKWEB_URL_PREFIX}}/static/app/search/dashboard.css"&lt;BR /&gt;
/&amp;gt;   ****&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155551#M9517</guid>
      <dc:creator>andrewsmileyaff</dc:creator>
      <dc:date>2020-09-29T20:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of the title and legend of a dashboard panel in Splunk 6.x?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155552#M9518</link>
      <description>&lt;P&gt;Hello Tom, &lt;BR /&gt;
I am trying to use this answer in order to change my legend size and i don't fully understand it. Can you please explain me this part &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;:nth-child(1) &amp;gt; text:nth-child(2) &amp;gt; tspan:nth-child(1) &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Thanks in advanced !!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 12:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-font-size-of-the-title-and-legend-of-a/m-p/155552#M9518</guid>
      <dc:creator>astatrial</dc:creator>
      <dc:date>2019-08-13T12:05:25Z</dc:date>
    </item>
  </channel>
</rss>

