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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-stephen-msft
Community Support
Community Support

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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