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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...