Forum Discussion
Changing Data Label Font With Custom Theme
Hi All,
I'm trying to change the data labels and total data label fonts to "Century Gothic" using a custom JSON file, please see my code below:
{"name": "Reporting",
"visualStyles":{
"*":{
"*":{
"*":[{
"fontFamily": "Century Gothic",
"titleFontFamily": "Century Gothic",
"secFontFamily":"Century Gothic",
"secTitleFontFamily": "Century Gothic"
}]
}
}
}
}
However, when I import this file some, but strangely not all of my data labels will change over to Century Gothic. I also cannot select that correct font in the visuals that don't change over.
Any help would be greatly appreciated.
Cheers,
TP2
TP2 , Have you changed some labels before, you used theme? Any custom change on the label will remain.
See if, the generator can help in correct theme generation - https://powerbi.tips/tools/report-theme-generator-v3/
1 Reply
- amitchandakSuper User
TP2 , Have you changed some labels before, you used theme? Any custom change on the label will remain.
See if, the generator can help in correct theme generation - https://powerbi.tips/tools/report-theme-generator-v3/