Dashboards & Visualizations

Radar Viz Dark theme axis text not visible

danan5
Path Finder

Hi,

I am having trouble with radar viz visualization. The viz itself is working great, however I can't seem to find a way to alter the axis text color. When used on a dark theme background the text is black and can't be seen. Light theme shows up ok.

Is there an attribute I am missing?

Many thanks,

David

Screen Shot 2021-03-26 at 09.20.55.png

Labels (1)
0 Karma
1 Solution

tscroggins
Influencer

@danan5 

The visualization isn't dark theme aware. The simplest fix is probably CSS:

 

<panel>
  <html>
    <style>
      #radialChart text.label {
        fill: white;
      }
      #radialChart text.rcAxisLegend {
        fill: white;
      }
    </style>
  </html>
  <viz id="radialChart" type="custom-radar-chart-viz.radar_chart">
    <!-- ... -->
  </viz>
</panel>

 

You can also submit an enhancement request (or a pull request if you've fixed the code): https://github.com/sghaskell/custom-radar-chart-viz/labels/enhancement 

View solution in original post

tscroggins
Influencer

@danan5 

The visualization isn't dark theme aware. The simplest fix is probably CSS:

 

<panel>
  <html>
    <style>
      #radialChart text.label {
        fill: white;
      }
      #radialChart text.rcAxisLegend {
        fill: white;
      }
    </style>
  </html>
  <viz id="radialChart" type="custom-radar-chart-viz.radar_chart">
    <!-- ... -->
  </viz>
</panel>

 

You can also submit an enhancement request (or a pull request if you've fixed the code): https://github.com/sghaskell/custom-radar-chart-viz/labels/enhancement 

Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...