Forum Discussion
vipett
4 years agoHelper III
Colors accoring to theme automatically
I've made a theme that matches our company graphical guidelines but how do I set Outline color on grid (in tables) and the alternate background color in values to be according to the theme? Graphs a...
v-henryk-mstf
4 years agoCommunity Support
Hi vipett ,
Try the following json code:
{
"name": "Test",
"dataColors": [
"#C22A22",
"#302E2B",
"#8CA8BA",
"#CCDAE4",
"#DEDEDE",
"#FAFAFA",
"#FAFAFA",
"#D64550"
],
"foreground": "#000000",
"categoryAxis": [
{
"gridlineStyle": "dotted",
"color": "#C22A22"
}
],
"background": "#FFFFFF",
"textClasses": {
"label": {
"fontFace": "'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif"
},
"title": {
"fontFace": "wf_standard-font, helvetica, arial, sans-serif"
}
},
"backgroundLight": "#F3F2F1",
"backgroundNeutral": "#C22A22",
"foregroundNeutralTertiary": "#B3B0AD",
"foregroundNeutralSecondary": "#605E5C"
}
You can debug your json code in the following editor:
[New document 1 | New document 2] JSON Editor Online - view, edit and format JSON online
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AllisonKennedy
4 years agoCommunity Champion
v-henryk-mstf I get an error when trying to use your pasted code....