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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...