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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
NizzleDevNull
New Contributor

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
Users online (25)