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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NizzleDevNull
New Member

Pie Chart JSON Theme label position Prefer Outside

I have been trying to get the JSON syntax for the labal position to be prefer outside.

 

The following works to set the "position" option to "inside" or "outside" but it doesn't work for "Prefer inside" or "Prefer outside"

 

WORKS:

"pieChart": {
"*": {
"legend": [
{
"show": false
}
],
"labels": [
{
"bold": true,
"backgroundColor": {
"solid": {
"color": "#000000"
}
},
"position": "outside",
"labelStyle": "Category, data value, percent of total"
}
]
}
},

 

Doesn't work

"pieChart": {
"*": {
"legend": [
{
"show": false
}
],
"labels": [
{
"bold": true,
"backgroundColor": {
"solid": {
"color": "#000000"
}
},
"position": "Prefer outside",
"labelStyle": "Category, data value, percent of total"
}
]
}
},

 

NizzleDevNull_0-1668017021156.png

 

1 REPLY 1
Anonymous
Not applicable

Hi @NizzleDevNull ,

 

I've already moved your post to the custom visual forum.

This is a forum about custom visuals, hope someone can help you.

 

 

 

Best Regards,

Stephen Tao

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.