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 AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...