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 (2)
0 Karma
1 Solution

tscroggins
Motivator

@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
Motivator

@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!

Happy CX Day, Splunk Community!

Happy CX Day, Splunk Community! CX stands for Customer Experience, and today, October 3rd, is CX Day — a ...

Splunk Observability Cloud | Customer Survey!

If you use Splunk Observability Cloud, we invite you to share your valuable insights with us through a brief ...

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...