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
Anonymous
Not applicable

How to make tile border as rounded, and including others?

Following are my queries: 

1)How do we make tile rounded? If possible, next how to give gradient effect? 

2)How do we assign individual color to the bargraph's bar, tree map, including others,  apart from declaring globally? Globally will apply to all the charts but how to declare locally? 

 

Below is the code used globally: 

"dataColors": ["#2098bd", "#4584D3", "#5BD078", "#A5D028", "#F5C040", "#05E0DB", "#3153FD", "#4C45D3", "#5BD0B0", "#54D028", "#D0F540", "#057BE0", "#0e5e8c"],

 

Note i have used same code locally for individual graphs but nothing happened.

 

3) How to use button options like default, selected, hour, etc through Json file? 

 

 

Thank you in Advance !!

4 REPLIES 4
Greg_Deckler
Super User
Super User

1. I don't know what a tile is, are you talking about visuals?

 

2. Go to the Format area (paint roller) and then Data colors and slide the "Show All" slider.

 

3. No idea to what you are referring


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Greg, thank you for the quick reply. 

 

Below is hte screenshot: 

For all 3 questions that I have put froth was to obtain solution in Json file. 

 

Tile rounded edges.PNG

 

 

 

I am not aware of a way to do rounded corners or gradiants. But @Anonymous might have some tricks up his sleeve.

 

The button stuff, you can have text and such on the button that changes depending on actions taken by the user. So, your button could say "Click me" as the default but when the user hovers over the button it could change to "STOP!!".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you Greg for including @Anonymous. 

 

It is a pain to manually implement above changes to n number of visuals and buttons, hence we have Json file which acts like css to apply themes. 

 

Hence trying to implement these things through json code. 

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.