Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
I'm changin my report theme and got some visual actions changes in my json stylesheet:
"visualStyles": { "*": { "*": { "title": [{ "show": true, "fontColor": { "solid": { "color": "#FFFFFF" } }, "background": { "solid": { "color": "#52351f" } }, "allignment": "center", "fontSize": 11, "fontFamily": "Tahoma" }], "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 }] } } }
Is there a possibility to change my fontfamily of the whole project?
Thanks in advance
Solved! Go to Solution.
Hi @miltenburger,
Please try to use following json code as theme, I move 'fontfamily' properties to global place to apply to all available visuals:
{ "name":"Change fontfamily", "visualStyles":{ "*":{ "*":{ "*":[ { "fontSize":11, "fontFamily":"Tahoma" } ], "title":[ { "show":true, "fontColor":{ "solid":{ "color":"#FFFFFF" } }, "background":{ "solid":{ "color":"#52351f" } }, "allignment":"center" } ], "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 } ] } } } }
Regards.
Xiaoxin Sheng
Hi @miltenburger,
Please try to use following json code as theme, I move 'fontfamily' properties to global place to apply to all available visuals:
{ "name":"Change fontfamily", "visualStyles":{ "*":{ "*":{ "*":[ { "fontSize":11, "fontFamily":"Tahoma" } ], "title":[ { "show":true, "fontColor":{ "solid":{ "color":"#FFFFFF" } }, "background":{ "solid":{ "color":"#52351f" } }, "allignment":"center" } ], "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 } ] } } } }
Regards.
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |