Dashboards & Visualizations

How to change font in beta dashboard

alrisha
Engager

Hi!

How can I change font size and family in the dashboard beta app?

I can change font size / family by using code but they only work in text box.

 

 

                "fontSize": 21,
                "fontFamily": "Helvetica"

 

 

 
I need to change font in table and charts too, but the same code that works in the text box, won't work anywhere else. I can only change font color.
 
Here is example from my code that does not work: 

 

 

"type": "viz.area",
            "options": {
                "axisY2.enabled": true,
                "backgroundColor": "transparent",
                "fontColor": "#FF0000",
                "legend.placement": "top",
                "seriesColors": "[#5FBCFF, #C6335F]",
                "axisTitleY.text": "Orders",
                "axisTitleX.text": "Date",
                "fontSize": 18,
                "fontFamily": "Verdana"

 

 

 
This code only changes font color, but not font size or font family. 
 
Thanks in advance. 
Labels (2)
0 Karma

niketn
Legend

@alrisha as of now only font color seems to be available configuration for viz elements like table in Beta Dashboard : https://docs.splunk.com/Documentation/DashApp/latest/DashApp/chartsTable

You can definitely put in the idea for CSS style configuration for visualizations in Beta Dashboard app using ideas.splunk.com by navigating to Apps & Add On > Supported Apps > Dashboard App (Beta)

Do vote other features you think are necessary.

 

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
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 ...