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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...