Dashboards & Visualizations

Changing data label font size


I want to make the numbers that appear within the bars of the dashboard bar chart bigger.
We have a screen that displays the bar chart but the numbers are too small to be seen unless you get closer, is there a way to make them appear bigger? I'm referring to the y-axis numbers that appear inside of the bars.

I was trying to access the source code and see if I could figure it out but so far all I know is that you can make them appear or not,

 "<option name="charting.chart.showDataLabels">all</option>"


Hi @jhurtado

Check this

  <row depends="$hide$">
          #rk g[transform] text {
            font-size:20px !important;
      <chart id="rk">
          <query>index=_internal |stats count by sourcetype</query>
        <option name="charting.chart">bar</option>
        <option name="charting.drilldown">none</option>
        <option name="charting.chart.showDataLabels">all</option>

New Member


Thanks a lot!

It worked for me with Pie Chart label



0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!