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

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...