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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...