MattRudy / PowerBI-ThemeTemplates

JSON Templates for assembling Power BI Themes
The Unlicense
233 stars 84 forks source link

Multi-visual template not working as expected #14

Open MattRudy opened 3 years ago

MattRudy commented 3 years ago

Source: Cloned from Issue 32 in original repository.

I am trying to merge Slicer, text box and shape codes together but only first code works and other two does not make any changes when I apply them. Also I get a message of success every time I apply. Can anyone help what I missing here

MattRudy commented 3 years ago

Provided Code:

{
"name": "SlicerTemplate",
"visualStyles": {
"slicer": {
"": {
"general": [{
"outlineColor": { "solid": { "color": "#444444"}},
"outlineWeight": 1,
"orientation": "vertical",
"responsive": true
}],
"data": [{
"mode": "Basic",
"relativeRange": "",
"relativePeriod": ""
}],
"selection": [{
"selectAllCheckboxEnabled": false,
"singleSelect": true
}],
"header": [{
"show": true,
"fontColor": { "solid": { "color": "#0"}},
"background": { "solid": { "color": ""}},
"outline": "None",
"textSize": 10,
"fontFamily": "Segoe UI"
}],
"items": [{
"fontColor": { "solid": { "color": "#ffffff"}},
"background": { "solid": { "color": ""}},
"outline": "None",
"textSize": 11,
"fontFamily": "Segoe UI"
}],
"slider": [{
"color": {"solid": { "color": "#6193"} }
}]
}
},
"TextBox": {
"": {
"": [{
"fontSize": 40,
"fontFamily": "Calibri",
"wordWrap": true,
"color": { "solid": { "color": "#FFFFFF"} }
}],
"background": [{
"show": true,
"color": { "solid": { "color": "#a61520"}},
"transparency": 0
}],
"visualHeader": [{
"show": true
}]
}
},
"basicShape": {
"": {
"line": [{
"lineColor": { "solid": { "color": "#01B8AA"}},
"transparency": 0,
"weight": 3,
"roundEdge": 0
}],
"fill": [{
"show": true,
"fillColor": { "solid": { "color": "#DDDDDD"}},
"transparency": 0
}],
"rotation": [{
"angle": 0
}],
"visualHeader": [{
"show": false
}]
}
}
}
}
MattRudy commented 3 years ago

Ping @niidhii01, who created the original issue - follow this for an answer soon!