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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...