Dashboards & Visualizations

how to change d3 charts x-axis font color,style and size

mvaradarajam
Path Finder

how to change x-axis font sytle and size in d3 charts.can u plz help me

Tags (2)
0 Karma

dart
Splunk Employee
Splunk Employee

Most D3 chart objects can be styled with CSS.

Use your favourite web browsers development tools to try changing the CSS properties.

For example this is some of the css from nv.d3.css:

.nvd3 .nv-axis path {
  fill: none;
  stroke: #000;
  stroke-opacity: .75;
  shape-rendering: crispEdges;
}

You could change the stroke property.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...