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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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

Top Solution Authors