microsoft / powerbi-desktop-samples

Power BI Desktop sample files for the monthly release. Here you can find the PBIX files used in the monthly release videos.
MIT License
1.48k stars 896 forks source link

advancedSlicerVisual: value and fillCustom attributes not changing visual #98

Open spmcgraw opened 3 months ago

spmcgraw commented 3 months ago

I have tried following the schema and using tools like Theme Generator by POINT to customize the advanced Slicer Visual without luck. I did notice that the fillCustom schema does not include $id options.

Example code for the value attribute "value": [{ "show": true }, { "$id": "default", "fontColor": { "solid": { "color": {"expr": {"ThemeDataColor": {"ColorId": 3}}} } }, "fontSize": 10, "fontFamily": "Segoe UI", "bold": false, "italic": false, "horizontalAlignment": "center", "textWrap": true, "showBlankAs": "--" }, { "$id": "hover", "fontColor": { "solid": { "color": {"expr": {"ThemeDataColor": {"ColorId": 3}}} } }, "fontSize": 10, "fontFamily": "Segoe UI", "bold": false, "italic": false, "horizontalAlignment": "center", "textWrap": true, "showBlankAs": "--" }, { "$id": "selected", "fontColor": { "solid": { "color": {"expr": {"ThemeDataColor": {"ColorId": 3}}} } }, "fontSize": 10, "fontFamily": "Segoe UI", "bold": false, "italic": false, "horizontalAlignment": "center", "textWrap": true, "showBlankAs": "--" }, { "$id": "disabled", "fontColor": { "solid": { "color": {"expr": {"ThemeDataColor": {"ColorId": 3}}} } }, "fontSize": 10, "fontFamily": "Segoe UI", "bold": false, "italic": false, "horizontalAlignment": "center", "textWrap": true, "showBlankAs": "--" }]