Forum Discussion

derria's avatar
derria
Frequent Visitor
8 years ago
Solved

Applying Visual Theme via JSON file

Hi guys,

 

I am trying to configure a corporate theme within Power BI and would like to set the title bar of all visual to be blue (#428BCA) with white (#FFFFFF).  However I am struggling to find the correct property which will do this, I have tried combinations of the following but to no avail:

 

{
   "name": "Corp Std",
   "dataColors": ["#FF00FF", "#5B6B72", "#D72825", "#E57F29", "#12C705"],
   "background": "#FFFFFF",
   "foreground": "#428BCA",
   "tableAccent": "#F21C75",
   "visualStyles":{
                    "*":{
                          "*":{
                                "*":[{  "showTitle":true,
                                        "color":"#428BCA",
                                        "fontcolor":"#FFFFFF"}]
                                }
                         }
                  }
  }
 

Any help with the JSON syntax would be greatly appreciated.

 

Thanks in advance

 

 

 

5 Replies

    • derria's avatar
      derria
      Frequent Visitor

      Thanks MaryF.

       

      Unfortunately, there is no property shown for the 'Title' on any of the visuals and I am starting to wondering if it is not feasible to set the title :smileysad:

    • derria's avatar
      derria
      Frequent Visitor

      Hi Yuliana,

       

      I have previously read through the article you mentioned and hence why I posted onto the forum.

       

      I am looking to create theme where any visual added will automatically default to having a blue title bar, as below:

       

       

      However, I am unable to locate a property setting via the JSON file which can do this,  and am looking for confirmation as to whether this is possible?