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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
walterosLP
Frequent Visitor

Custom visual arrange layers of visualization

Hello, custom visual developers,
does anyone know the command for arranging a background image (PNG), by moving it to the front? I am using a heatmap which I want to arrange it in the background which should appear only parts within an image png file. Currently, the image is in the background but I want to have it actually moved to the front and the heatmap part in the background then the cut-out parts of the PNG image will show the heatmap visualization only there. Which command may I use coding my custom visual in order to arrange the switch between the background image and visual in the front?
Thanks so much!

1 ACCEPTED SOLUTION
v-viig
Community Champion
Community Champion

As far as I understand the question z-index might be used to change depth position of elements.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

 

 

View solution in original post

2 REPLIES 2
v-viig
Community Champion
Community Champion

As far as I understand the question z-index might be used to change depth position of elements.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

 

 

Thanks a lot, Ignat, for the hint. That's it!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors