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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
HaveeshPerla_1
Helper II
Helper II

How to change the background color alone with the help of a button?

Hi Team,

 

I've a report and using a JSON theme for it. Now, there's a requirement where the background color alone has to be changed with help of a button when required. So please help me how do i acheive this swicth function of colour with a click.

 

Regards,

Haveesh

1 REPLY 1
PijushRoy
Super User
Super User

Hi @HaveeshPerla_1 

Please see the full video and implement the same for your report (only for the background color_
In video, 13.05 minutes, added shape on canvas. The canvas default background color is the same as the JSON color. When the button is pressed, the color will change
https://www.youtube.com/watch?v=OdavfckuNwc

 


If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.