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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...