Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi all,
In scope of my project I need to create a JSON theme in order to customize the data labels (font size, color etc.) for a line and column combo chart. Is there a way to do this only for the line and not the columns using JSON theme?
Thank you in advance.
Solved! Go to Solution.
Hi @Anonymous ,
Sorry for that the Power BI cannot change the each label’s theme using JSON file. We can only configure each value theme in Customize Series.
But use the JSON file we can change the label’s overall theme. The JSON file like this, and you can refer it.
{
"name":"LineClusteredColumnComboTemplate",
"visualStyles":{
"lineClusteredColumnComboChart":{
"*":{
"labels":[
{
"show":true,
"color":{
"solid":{
"color":"#EEEEEE"
}
},
"labelDisplayUnits":"0",
"labelPrecision":1,
"labelOrientation":"vertical",
"labelPosition":"OutsideEnd",
"fontSize":11,
"fontFamily":"Courier New",
"enableBackground":true,
"backgroundColor":{
"solid":{
"color":"#0928DD"
}
},
"backgroundTransparency":30
}
],
"lineStyles":[
{
"shadeArea":true,
"strokeWidth":4,
"strokeLineJoin":"bevel",
"showMarker":true,
"markerShape":"triangle",
"markerSize":3,
"markerColor":{
"solid":{
"color":"#448822"
}
}
}
]
}
}
}
}
If you have any questions, please kindly ask here and we will try to resolve it.
BTW, the JSON file as attached.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Sorry for that the Power BI cannot change the each label’s theme using JSON file. We can only configure each value theme in Customize Series.
But use the JSON file we can change the label’s overall theme. The JSON file like this, and you can refer it.
{
"name":"LineClusteredColumnComboTemplate",
"visualStyles":{
"lineClusteredColumnComboChart":{
"*":{
"labels":[
{
"show":true,
"color":{
"solid":{
"color":"#EEEEEE"
}
},
"labelDisplayUnits":"0",
"labelPrecision":1,
"labelOrientation":"vertical",
"labelPosition":"OutsideEnd",
"fontSize":11,
"fontFamily":"Courier New",
"enableBackground":true,
"backgroundColor":{
"solid":{
"color":"#0928DD"
}
},
"backgroundTransparency":30
}
],
"lineStyles":[
{
"shadeArea":true,
"strokeWidth":4,
"strokeLineJoin":"bevel",
"showMarker":true,
"markerShape":"triangle",
"markerSize":3,
"markerColor":{
"solid":{
"color":"#448822"
}
}
}
]
}
}
}
}
If you have any questions, please kindly ask here and we will try to resolve it.
BTW, the JSON file as attached.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 39 |