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
addd123
Frequent Visitor

Changing the title of a barchart with json (setting up custom theme)

Im using the option to create a custom theme in Json.

 

I cant seem to find the option to alter the font or fontsize of the title of the graph. 

 

In the code below i guess it would work putting "title" in the place "legend" but it doesnt. In the documentation (https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/) and in the editor (https://powerbi.tips/tools/report-theme-generator-v3/) I have seen no way to alter the settings for the “title” of the graphs, is it not available yet or am I missing something?

 

{"name":"My Theme",
	
		"visualStyles":	{

			"barChart":{
                            "*":{   
                                    
                                    "legend":[{"fontSize":9,"fontFamily":"Segoe UI"}],
                                    "categoryAxis":[{"fontSize":10,"fontFamily":"Segoe UI"}],
                                    "valueAxis":[{"fontSize":11,"fontFamily":"Segoe UI"}]
                                }
                            }

                         }
}

 

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@addd123,

 

There is already an idea, you may leave a comment and vote it up.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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