Forum Discussion

aamzahem's avatar
aamzahem
New Member
5 years ago

Shape in json theme file

Hello,

 

Does anyone know how to change the default values of color, weight and transparancy of a shape's outline and fill using theme.json file?
Previously this would have worked, but now it doesn't with the latest update to shapes:

 

 

"shape": {
            "*": {
                "outline": [
                    {
                        "show": true,
                        "lineColor": {
                            "solid": {
                                "color": "#282F37"
                            }
                        },
                        "transparency": 0,
                        "lineWeight": 0.65
                    }
                ],
                "fill": [
                    {
                        "show": false,
                        "fillColor": {
                            "solid": {
                                "color": "#282F37"
                            }
                        }
                    }
                ],

 

 

 

thank you

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi aamzahem 

    Please check your version of Power BI . The current latest version is in May .

    You can download through the link :

    https://www.microsoft.com/en-us/download/details.aspx?id=58494

    After updating the version and try again .

     

    Best Regards

    Community Support Team _ Ailsa Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.