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"
}
]
}
}
}
}
}
Solved! Go to Solution.
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.
Thanks
Hari
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.
Thanks
Hari
Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.