Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
wntoh
Frequent Visitor

JSON file to Word Wrap title (for all visuals) - Theme setting

Hello,

 

Understand that from last month's (Feb 2019) update, all visual titles may now be word wrapped.
Is there any way that I am able to integrate it in my JSON theme file so I do not have to manually trigger for all my visuals?

I've tried but doesn't seem to work.

Here is what i've got:


"visualStyles": {
"*": {
"*": {
"*": [{
"fontSize": 12,
"fontFamily": "Calibri"

}],
"title": [{
"show": true,
"wordWrap": {"show":true},
"fontColor": {"solid": {"color": "#000000"}},
"background": {"solid": {"color": "#A6CBCD"}},
"alignment": "Left",
"fontSize": 12,
"fontFamily": "Arial"

}],

 

1 ACCEPTED SOLUTION
JeremyBlack
Regular Visitor

@wntoh I was able to get the following title property to work:

 

"titleWrap": true

View solution in original post

4 REPLIES 4
JeremyBlack
Regular Visitor

@wntoh I was able to get the following title property to work:

 

"titleWrap": true

@JeremyBlack  Works perfectly. Thanks so much!

Anonymous
Not applicable

HI @wntoh ,

I test with word wrap property with multiple methods, but it seems not works when you setup it in custom theme.(for title property, it works well)

Regards,

Xiaoxin Sheng

@Anonymous 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.