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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
lemkin123
Frequent Visitor

json Theme: turn on series labels

Is there a way to turn on the series labels in a json theme? Mainly on line graphs but also on combo charts.

 

Thanks!

2 REPLIES 2
lemkin123
Frequent Visitor

Thanks for your reply but I should have been more clear. It''s the Series labels I want to turn on. I've the code for data labels and have them turning on automatically with this:

"labels": [{
"show":true,
"color": { "solid": { "color": "#FFFFFF"}},
"enableBackground": false,
"labelPosition":"InsideEnd"
}]

 

But I can't find anything to turn on the series labels.

lemkin123_0-1711636947353.png

To make the labels for the lines appear like this:

lemkin123_1-1711637046679.png

 

 

v-xinruzhu-msft
Community Support
Community Support

Hi @lemkin123 

For the  line graphs and combo charts, the labels cannot be changed by using JSON file, if you want to open or change it, you need to set it manually at the properity.

vxinruzhumsft_0-1711591385880.png

You can conider to customize the data label at json file, you can refer to the following link.

Solved: JSON data labels customize series - Microsoft Fabric Community

indexing - Power BI custom theme .json - multiple series customization - Stack Overflow

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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