cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zapppsr Member
Member

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

Accepted Solutions
zapppsr Member
Member

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

I guess I figured it out after some research.

Here the code in the gallery.

View solution in original post

2 REPLIES 2
zapppsr Member
Member

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

I guess I figured it out after some research.

Here the code in the gallery.

View solution in original post

Microsoft v-yulgu-msft
Microsoft

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

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors