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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.