The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I am facing the below issue while I try to change the fontFamily of all the visuals in my Report using the below json file.
* Values filed is only getting changed based on the json file
* Legend and tooltip is not changing even if I give explicitly for the specific visual
Let me know if I have made any mistakes in my code or is there anything need to be added to achieve the same ?
Thanks in Advance:)
Json File:
{
"name":"Change fontfamily",
"visualStyles":{
"*":{
"*":{
"*":[
{
"fontSize":11,
"fontFamily":"Segoe UI"
}
],
"title":[
{
"show":true,
"fontColor":{
"solid":{
"color":"#FFFFFF"
}
},
"allignment":"center"
}
],
"legend": [{
"show": true,
"position": "Bottom",
"showTitle": false,
"titleText": "",
"fontColor": "#666666",
"fontSize": 10,
"fontFamily": "Segoe UI"
}] ,
"background":[
{
"show":true,
"color":{
"solid":{
"color":"#FFFFFF"
}
},
"transparency":0
}
],
"lockAspect":[
{
"show":true
}
],
"border":[
{
"show":false
}
],
"visualTooltip":[
{
"type":"Default"
}
],
"stylePreset":[
{
"name":"None"
}
],
"labels":[
{
"fontColor":{
"solid":{
"color":"#000000"
}
}
}
]
}
},
"page":{
"*":{
"background":[
{
"color":{
"solid":{
"color":"#e6e6e6"
}
},
"transparency":0
}
]
}
}
}
}
Hi, @Anonymous
Please check if this thread could help:
https://community.powerbi.com/t5/Desktop/theme-json-for-visuals-fontfamily/td-p/1036558
Best Regards,
Community Support Team _ Eason
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
76 | |
66 | |
52 | |
52 |
User | Count |
---|---|
127 | |
116 | |
78 | |
64 | |
63 |