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.
Hello,
I need to add a font in the theme to be available in the Text property of any shape object (the one highlighted in the image below)
I can access the rectangle object via 'shape' visual object, but I don't know what are the other properties to get to add a font.
I tried the following code, but it doesn't work:
"visualStyles" : {
"shape" : {
"*": {
"text": [{"fontFamily": "Ogg Regular"}]
}
}
}
It seems that line
"text": [{"fontFamily": "Ogg Regular"}]
isn't correct, and here is where I need help.
I couldn't see in the documentation any cardName property that looks like the one I need.
Do you know how can I reach this property and add a font?
Thanks
@Anonymous , check if this solution can help
https://community.powerbi.com/t5/Desktop/Themes-For-Shapes/m-p/196835
Hello, I couldn't make use of the solution that appears in the link. I need to add a new font to the Text section of a shape object.
The question is what card property to I have to access in the .json in order to get to the Text section and add the font, if exists.
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 |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |