Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Is there any way to set the default x and y axis and legend font size, of a visualisation via JSON without setting the default font size for everything else?
//for example
"textClasses": {
"label": {
"color": "#000000",
"fontFace": "Arial",
"fontSize": 8
},
//this will set all font size to be 8, while the axis font size will default to 9
Is there any way to set the general text size to 10 but the axis and legend font size to 8?
Solved! Go to Solution.
"legend":[{
"fontSize":8
}],
"categoryAxis":[{
"fontSize":8
}]
"legend":[{
"fontSize":8
}],
"categoryAxis":[{
"fontSize":8
}]
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!