Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
zapppsr
Kudo Collector
Kudo Collector

Themes - August 2018 Release - Setting up JSON with all details

 

Hi!

 

I figured out most of the code I want to build my custom theme. 

I need a few more things:

 

  • clusteredColumnChart and clusteredBarChart
  1. Background color for the title
  2. Font color for the title
  3. Border of the whole chart

Se the before and after:

 

chart.png

Here is my current working code:

 

{
"name":"Theme",
"dataColors":[
"#374649",
"#CCCCCC",
"#9ab7da",
"#cedaec",
"#00c762",
"#fbe7a6",
"#ff544a",
"#f89a1c",
"#545451"
],
"background":"#FFFFFF",
"foreground":"#545451",
"tableAccent":"#f4f4f4",
"visualStyles":{
"*":{
"*":{
"*":[
{
"fontSize":8,
"fontFamily":"Segoe UI"
}
]
}
},
"clusteredBarChart":{
"*":{
"categoryAxis":[
{
"show":true,
"fontSize":8,
"fontFamily":"Segoe UI"
}
],
"valueAxis":[
{
"show":false,
"fontSize":8,
"fontFamily":"Segoe UI"
}
],
"labels":[
{
"show":true,
"fontSize":8,
"fontFamily":"Segoe UI"
}
]
}
},
"clusteredColumnChart":{
"*":{
"categoryAxis":[
{
"show":true,
"fontSize":8,
"fontFamily":"Segoe UI"
}
],
"valueAxis":[
{
"show":false,
"fontSize":8,
"fontFamily":"Segoe UI"
}
],
"labels":[
{
"show":true,
"fontSize":8,
"fontFamily":"Segoe UI"
}
]
}
},
"*":{
"*":{
"grid":[
{
"outlineColor":{"solid":{"color":"#f4f4f4"}},
"gridVertical":true,
"gridVerticalColor":{"solid":{"color":"#CCCCCC"}},
"gridHorizontal":true,
"gridHorizontalColor":{"solid":{"color":"#CCCCCC"}}
}
],
"columnHeaders":[
{
"fontColor":{"solid":{"color":"#ffffff"}},
"backColor":{"solid":{"color":"#374649"}},
"fontFamily":"Segoe UI"
}
],
"values":[
{
"backColorSecondary":{"solid":{"color":"#f4f4f4"}}
}
]
}
}
}
}

1 ACCEPTED SOLUTION
zapppsr
Kudo Collector
Kudo Collector

I guess I figured it out after some research.

Here the code in the gallery.

View solution in original post

2 REPLIES 2
zapppsr
Kudo Collector
Kudo Collector

I guess I figured it out after some research.

Here the code in the gallery.

Hi @zapppsr,

 

Thanks for sharing the resolution.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.