cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JemmaD
Helper I
Helper I

JSON HELP NEEDED

I have some json i've cobbled together from various places, and it's not working, I am certain it's because of my poor use of the curly and square brackets. I have NO idea how to write json, i'm trying to write it to stipulate a specific theme but failing miserably. 

 

Please can someone take a look over this and help me with the coding?

 

{
  "name": "Regional Reporting Theme",
  "textClasses": {
    "label": {
      "color": "#9DA6AC",
      "fontSize": 8,
      "fontFace": "Calibri"
    },
    "callout": {
      "color": "#9AA0A4",
      "fontFace": "Calibri",
      "fontSize": 20
    },
    "title": {
      "color": "#999999",
      "fontFace": "Calibri",
      "fontSize": 8.5
    },
    "header": {
      "color": "#A1A6AB",
      "fontFace": "Calibri",
      "fontSize": 8
    }
  },
  "dataColors": [ "#0057B8", "#CDCED0", "#B349AF", "#009CA6", "#F44B23", "#ECC65A", "#3DBA47", "333F48" ],

  "bad": "#EDA391",
  "neutral": "#EBD082",
  "good": "#75D1B8",
  "minimum": "#EDA391",
  "center": "#EBD082",
  "maximum": "#75D1B8",
  "visualStyles": {
    "page": {
      "*": {
        "outspace": [ { "color": { "solid": { "color": "#F5F5F5" } } } ]
      }
    },
    "*": {
      "*": {
        "outspacePane": [
          {
            "backgroundColor": { "solid": { "color": "#75777A" } },
            "foregroundColor": { "solid": { "color": "#FEFEFE" } }
          }
        ],
        "grid": [
          {
            "gridVertical": false,
            "gridHorizontal": false
          }
        ],
        "columnHeaders": [
          {
            "fontColor": { "solid": { "color": "#333F48" } },
            "backColor": { "solid": { "color": "#FFFFFF" } },
            "fontFamily": "Calibri"
          }
        ],
        "values": [
          {
            "backColorSecondary": { "solid": { "color": "#F5F5F5" } }
          }
        ],
        "clusteredBarChart": {
          "*": {
            "categoryAxis": [
              {
                "show": true,
                "position": "Bottom",
                "labelColor": {
                  "solid": {
                    "color": "#999999"
                  }
                },
                "fontSize": 10,
                "fontFamily": "Calibri"
              }
            ]
          }
        }
      },
      "clusteredColumnChart": {
        "*": {
          "categoryAxis": [
            {
              "show": true,
              "labelColor": {
                "solid": {
                  "color": "#999999"
                }
              },
              "fontsize": 10,
              "fontFamily": "Calibri"
            }
          ]
        }
      }
    }
  }
}
1 ACCEPTED SOLUTION
Hariharan_R
Super User
Super User

Hi @JemmaD 

Use the below site and choose the visual and do the changes like color, font etc and then you can download the JSON file which can be used. You also can do the changes in JSON directly.

 

https://themegenerator.point-gmbh.com/en/Home

 

Use JSON formatter for better read.

https://jsonformatter.org/

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


View solution in original post

1 REPLY 1
Hariharan_R
Super User
Super User

Hi @JemmaD 

Use the below site and choose the visual and do the changes like color, font etc and then you can download the JSON file which can be used. You also can do the changes in JSON directly.

 

https://themegenerator.point-gmbh.com/en/Home

 

Use JSON formatter for better read.

https://jsonformatter.org/

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors