I'm trying to change the font size of a table in a dashboard studio visualization. How is this done in the code? I've tried a few ways but having no luck.
Thanks in advance and I appreciate the help.
The font size on Dashboards in absolute mode is determined by the amount of pixels you give the dashboard canvas. Click on the background canvas options and change the resolution to your liking:
As a starting point, Splunk suggests 1200x720px which is too small for most applications. just change it to 1920x 1000px and your font will be smaller.
You can either drag and drop the corners of the table or you edit the position in json: layout > structure. This code should be generated automatically once you created a table in the UI view.
But this works only of you have the dashboard in "absolute" mode. If you selected grid it's not possible to freely resize. You can still change this under layout > type: "grid" or "absolute"
"position": {
"x": 0,
"y": 0,
"w": 800,
"h": 450
}
I'm having the same issue working in Dashboard studio, I am trying to increase the font size of the records in the table .
I added the "fontSize" Attribute to the table.
And like the suggestions above the Layout is absolute.
Below are the screenshots of the code.
Any suggestions on how to increase the font size?