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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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