Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello forum! Since the feb update the embedded Json theme file is returning the same error for each visual:
#/visualStyles/barChart/*/title/0/background must be object (type; matching schema #/oneOf/0/type)
#/visualStyles/barChart/*/title/0/background must be object (type; matching schema #/oneOf/1/type)
#/visualStyles/barChart/*/title/0/background must be object (type; matching schema #/oneOf/2/type)
#/visualStyles/barChart/*/title/0/background must match exactly one schema in oneOf (oneOf; matching schema #/oneOf)
Can anyone help me correct the code??
{
"name": "TuiOraPower BI BeigeTheme",
"dataColors": [
"#73361C",
"#F5C4AF",
"#000000",
"#FFFFFF",
"#DDDDDD",
"#48b5e5",
"#FEF5F1"
],
"background": "#FEF5F1",
"foreground": "#F5C4AF",
"tableAccent": "#48b5e5",
"visualStyles": {
"*": {
"*": {
"*": [
{
"responsive": true,
"wordWrap": true,
"fontFamily": "Calibri",
"color": "#73361C"
}
],
"labels": [ { "labelOrientation": "horizontal" } ],
"categoryAxis": [ { "showAxisTitle": false } ],
"valueAxis": [ { "showAxisTitle": false } ],
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
]
}
},
"textbox": {
"*": {
"*": [
{
"fontFamily": "Calibri",
"wordWrap": true,
"color": { "solid": { "color": "#73361C" } }
}
],
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"visualHeader": [
{
"show": false
}
]
}
},
"scatterChart": {
"*": {
"fillPoint": [ { "show": true } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"background": [ { "show": false } ],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"lineChart": {
"*": {
"legend": [ { "legendMarkerRendering": "lineAndMarker" } ],
"lineStyles": [
{
"showMarker": false,
"showSeries": true
}
],
"labels": [ { "show": true } ],
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"dataLabels": [ { "show": true } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [ { "show": false } ]
}
},
"shapeMap": {
"*": {
"zoom": [ { "manualZoom": true } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"background": [ { "show": false } ],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"barChart": {
"*": {
"labels": [ { "show": true } ],
"background": [ { "show": false } ],
"dataLabels": [ { "show": true } ],
"categoryAxis": [ { "axisType": "Categorical" } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"slicer": {
"*": {
"responsive": false,
"selection": [
{
"singleSelect": true,
"selectAllCheckboxEnabled": true
}
],
"header": [ { "show": false } ],
"title": [
{
"show": true,
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"background": [ { "show": false } ],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"pivotTable": {
"*": {
"*": [
{
"fontSize": 9,
"fontColor": "#73361C"
}
],
"grid": [ { "outlineColor": { "solid": { "color": "#73361C" } } } ],
"subTotals": [ { "columnSubtotals": false } ],
"columnHeaders": [
{
"wordWrap": true,
"backColor": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"gridVerticalWeight": 3,
"stepped": true,
"steppedLayoutIndentation": 25,
"urlIcon": true
}
],
"values": [
{
"fontColorPrimary": "#73361C",
"backColorPrimary": "#FEF5F1",
"fontColorSecondary": "#73361C",
"backColorSecondary": "#FEF5F1",
"wordWrap": true,
"urlIcon": true
}
],
"rowHeaders": [
{
"wordWrap": true,
"backColor": "#FEF5F1",
"gridVerticalWeight": 3,
"stepped": true,
"steppedLayoutIndentation": 25,
"urlIcon": true
}
],
"background": [ { "show": false } ],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"kpi": {
"*": {
"background": [ { "show": false } ],
"status": [
{
"direction": "Negative",
"goodColor": { "solid": { "color": "#73361C" } },
"badColor": { "solid": { "color": "#F5C4AF" } },
"neutralColor": { "solid": { "color": "#FEF5F1" } }
}
]
}
},
"card": {
"*": {
"background": [ { "show": false } ],
"labels": [
{
"fontSize": 28,
"color": { "solid": { "color": "#73361C" } }
}
],
"categoryLabels": [ { "show": false } ],
"title": [
{
"show": true,
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"clusteredBarChart": {
"*": {
"labels": [
{
"show": true,
"fontSize": 10
}
],
"categoryLabels": [ { "show": true } ],
"background": [ { "show": false } ],
"categoryAxis": [{"show": true,
"labelColor": { "solid": { "color": "#73361C" } },
"fontSize": 10,
"fontFamily": "Calabri",
"preferredCategoryWidth": 30,
"maxMarginFactor": 28,
"innerPadding": 22,
"concatenateLabels": true,
"showAxisTitle": true,
"axisStyle": "showTitleOnly",
"titleColor": { "solid": { "color": "#73361C" } },
"titleFontSize": 12,
"titleFontFamily": "Calabri",
"axisType": "Categorical" } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"clusteredColumnChart": {
"*": {
"labels": [
{
"show": true,
"fontSize": 10,
"color": { "solid": { "color": "#73361C" } }
}
],
"categoryLabels": [ { "show": true } ],
"background": [ { "show": false } ],
"categoryAxis": [
{
"show": true,
"labelColor": { "solid": { "color": "#73361C" } },
"fontSize": 10,
"fontFamily": "Calabri",
"preferredCategoryWidth": 30,
"maxMarginFactor": 28,
"innerPadding": 22,
"concatenateLabels": true,
"showAxisTitle": true,
"axisStyle": "showTitleOnly",
"titleColor": { "solid": { "color": "#73361C" } },
"titleFontSize": 12,
"titleFontFamily": "Calabri"
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"lineStackedColumnCombo": {
"*": {
"labels": [ { "show": false } ],
"background": [ { "show": false } ],
"dataLabels": [
{
"show": true,
"fontSize": 10
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"lineClusteredColumnCombo": {
"*": {
"labels": [ { "show": false } ],
"background": [ { "show": false } ],
"dataLabels": [
{
"show": true,
"fontSize": 10
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"gauge": {
"*": {
"labels": [ { "show": false } ],
"background": [ { "show": false } ],
"dataLabels": [
{
"show": true,
"fontSize": 10
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"hundredPercentStackedColumn": {
"*": {
"labels": [ { "show": false } ],
"background": [ { "show": false } ],
"dataLabels": [
{
"show": true,
"fontSize": 10
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"hundredPercentStackedBar": {
"*": {
"labels": [ { "show": false } ],
"background": [ { "show": false } ],
"dataLabels": [
{
"show": true,
"fontSize": 10
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"areaChart": {
"*": {
"labels": [ { "show": false } ],
"background": [ { "show": false } ],
"dataLabels": [
{
"show": true,
"fontSize": 10
}
],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"donutChart": {
"*": {
"legend": [ { "show": true } ],
"labels": [ { "labelStyle": "Percent of total" } ],
"background": [ { "show": false } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"pieChart": {
"*": {
"legend": [ { "show": true } ],
"background": [ { "show": false } ],
"labels": [ { "labelStyle": "Category, percent of total" } ],
"title": [
{
"fontColor": { "solid": { "color": "#73361C" } },
"background": [
{
"show": false,
"color": { "solid": { "color": "#DDDDDD" } },
"transparency": 100
}
],
"alignment": "center",
"fontSize": 12
}
],
"border": [
{
"show": false,
"color": { "solid": { "color": "#000000" } }
}
]
}
},
"page": {
"*": {
"background": [
{
"color": { "solid": { "color": "#FEF5F1" } }
}
]
}
}
},
"textClasses": {
"label": {
"fontFace": "Calibri",
"fontSize": 11
},
"callout": { "fontFace": "Calibri" },
"title": { "fontFace": "Calibri" },
"header": { "fontFace": "Calibri" }
}
}
theme
Solved! Go to Solution.
Oh my word this is awesome - thanks works a treat..
Oh my word this is awesome - thanks works a treat..
Thanks @Rudz - The point I am trying to get to is having all visual backgrounds transparent as I want the page background to be visible. Can you give me an example code to achieve this for say one visual?
So the offending code was underneath the "title" property. This defines the background color for just the title. It's the equivalent of this setting:
It doesn't support transparency or show on/off.
What you are talking about is the background of the visual. Instead of under "title", it will be right after the visual type, eg. "textbox", "scatterChart", "lineChart", etc. The theme already has a bunch of "background" properties there with "show": false, but you could add the color and transparency codes there too if you wanted.
Here's the theme file without errors.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
121 | |
112 | |
58 | |
57 |