Forum Discussion
Theme Not Fully Applying
- 4 years ago
Hi Anonymous
After my test, the code below works, just copy it and try
{ "name": "Sample", "visualStyles": { "*": { "*": { "*": [ { "responsive": true, "wordWrap": true, "fontSize": 10, "backColorPrimary": { "solid": { "color": "#ffffff" } }, "backColorSecondary": { "solid": { "color": "#ededed" } } } ], "title": [ { "show": true, "fontColor": { "solid": { "color": "#535353" } }, "background": { "solid": { "color": "#ffffff" } }, "alignment": "center", "fontSize": 12, "fontFamily": "Comic Sans MS" } ], "valueAxis": [ { "showAxisTitle": true, "labelColor": { "solid": {} } } ] } } } }Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous
After my test, the code below works, just copy it and try
{
"name": "Sample",
"visualStyles": {
"*": {
"*": {
"*": [
{
"responsive": true,
"wordWrap": true,
"fontSize": 10,
"backColorPrimary": { "solid": { "color": "#ffffff" } },
"backColorSecondary": { "solid": { "color": "#ededed" } }
}
],
"title": [
{
"show": true,
"fontColor": { "solid": { "color": "#535353" } },
"background": { "solid": { "color": "#ffffff" } },
"alignment": "center",
"fontSize": 12,
"fontFamily": "Comic Sans MS"
}
],
"valueAxis": [
{
"showAxisTitle": true,
"labelColor": { "solid": {} }
}
]
}
}
}
}
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
I think that is pretty much what I have throughout. I think in the sample I sent, for some of the top level things, I was using a fontFace property, but elsewhere I used fontFamily. Specifically, with the Segoe family of fonts, are these the values to use: "Segoe UI", "Segoe UI Semibold", "Segoe UI Bold", or is there a difference in maybe the casing or spacing that I should use in the theme.json?