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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors