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

@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!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...