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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...