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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.