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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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!:
Mastering Power BI 2nd Edition

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!:
Mastering Power BI 2nd Edition

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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