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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...