Dashboards & Visualizations

Bolding dates on a dashboard

harshparikhxlrd
Path Finder

I'm trying to see if I can bold the dates via XML without adding any CSS stuff.

0 Karma

vnravikumar
Champion

Hi

I guess it's not possible without css, you can try with the following

    <dashboard>
      <label>chart</label>
      <row depends="$hide$">
        <panel>
          <html>
            <style>
              #rk g[class="highcharts-axis-labels highcharts-xaxis-labels "] text{
                 font-weight:bold !important;
               }
            </style>
          </html>
        </panel>
      </row>
      <row>
        <panel>
          <chart id="rk">
            <search>
              <query>index=_internal | timechart  count by sourcetype</query>
              <earliest>-7d@h</earliest>
              <latest>now</latest>
            </search>
            <option name="charting.chart">column</option>
            <option name="charting.drilldown">none</option>
          </chart>
        </panel>
      </row>
    </dashboard>
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...