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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
po
Post Prodigy
Post Prodigy

datacolours on local visuals using .json theme file possible?

Hi,

 

Can use a .json theme file to set the properties of local visuals to override the global properties and works fine and behaves as expected except for local visuals datacolours.

 

When put "dataColors":["#063d73","#Febe10","#ed2038"...]  in local visuals e.g. line chart, scatter chart , 100%stacked bar chart find that the global data colours at top of .json file always look to take precedence over putting 

dataColors":["#063d73","#Febe10","#ed2038"...]  at local visual level.

 

Cannot see any examples of local visuals .json using datacolours e.g to try and set the data colours of e.g lines, bars at local visuallevel.

 

Is this possible?

 

Thanaks

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@po,

 

You may try the Report Theme Generator V3.

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

Thanks for reply.

 

Have tried this.

 

Problem we have is that although for all the visuals we can successfully override the default e.g we can set the fonts, background on the visuals to be  different to the global font and background when try datacolours setting individually on visuals such as linechart, the global datacolours at top of theme file are the ones the visual chooses.

 

Has anyone got the datacolours of the visuals different via the .json theme file to the datacolours set at top of theme file 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.