Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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
User | Count |
---|---|
83 | |
69 | |
68 | |
57 | |
50 |
User | Count |
---|---|
42 | |
41 | |
33 | |
32 | |
31 |