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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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!

v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

@v-shex-msft 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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