Hi All,
I have a dashboard with chart which is representing Count by Dates. I have increased the font size of count value but need help in increasing the font size of Date. Below XML I'm using currently.
<row> <panel> <html> <style> #test th{ font-size: 15px !important; font-weight: bold !important;
} </style>
</html> </panel>
</row>
Thanks
It might depend on the chart type - assuming column chart - try this:
<style>
#test g.highcharts-xaxis-labels text {
font-size: 13px !important;
font-weight: bold !important;
}
</style>
You mentioned that you are using a chart, yet the CSS style you shared is for table headers (th). Is your "chart" actually a table and you want the table data (td) font size to change as well or is there something else going on?
Sorry @ITWhisperer. I posted the wrong one
PFB
<row> <panel> <html> <style> #test g[transform] { font-size: 15px !important; font-weight: bold !important;
} </style>
</html> </panel>
</row>
@ITWhisperer any help.
It might depend on the chart type - assuming column chart - try this:
<style>
#test g.highcharts-xaxis-labels text {
font-size: 13px !important;
font-weight: bold !important;
}
</style>
Thank you @ITWhisperer this saved my day.. I read so many posts and saw videos on how to change font size of column charts and your solution was spot on.
@ITWhisperer thanks for the help. Is there any doc where i can get these for all type visualization. It will be really helpful.
If there is any documentation, I am unaware of it, I just inspect the html and figure out what elements and classes and other specifiers to use. Obviously, the issue with that is that sometimes the viz implementation varies between splunk releases so you have to keep an eye on how your dashboards are operating under different releases.