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
Anonymous
Not applicable

Theme - Data label colors

Hi Everyone,

 

I am working on theme file however I am not able to find the JSON syntax for data label color.

 

I am using below code and labelColor is not working when I import the theme file in pbix. However, font size is working fine.

 

"columnChart":{
            "*":{
                "legend":[{
                    "show":true,
		    "fontSize":8
                }],
                "labels":[{
                   "show":true,
		   "fontSize":8,
		   "labelColor":"#F17925"
                }]
            }
        }

I have also tried different syntax like fillLabel, fillColor, Color, etc. but didn't work. Do you guys know the correct syntax? I have already visited theme gallery, but didn't find this kind of syntax in any themes.

 

Also if someone shares the correct syntax for each property (like title, series setting, etc.), appreciate it.

Thank you.

 

Regards,

Niket Talati

1 ACCEPTED SOLUTION

Try "color":{"solid":{"color":"#F17925"}}.

 

An extremely helpful person created the Report Theme Generator, which is really helpful for figuring out how you're supposed to set some of these properties. I hope they keep updating it, because there's a bunch of other ones I can't figure out either!

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thanks for your replay. However I am already aware about this blog and gone through several times. But still can't find any details on mentioned issue.

Try "color":{"solid":{"color":"#F17925"}}.

 

An extremely helpful person created the Report Theme Generator, which is really helpful for figuring out how you're supposed to set some of these properties. I hope they keep updating it, because there's a bunch of other ones I can't figure out either!

 

Anonymous
Not applicable

Thank you for the help. It works!

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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