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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Dave0145
Frequent Visitor

Custom Visual Development: Placing an svg circle in a table (HtmlElement)

Capture.JPGHi,

 

I have successfully created a custom visual (as above) that shows a matrix of values. However, when I place an svg circle element in each cell, coloured according to the value of the cell, the cell height increases to the default image height (75). How can I override this functionality as a developer in a similar way to how it can be done in Power BI Desktop table visual? (Grid / Image height property)

 

thanks

 

 

 

1 ACCEPTED SOLUTION
Dave0145
Frequent Visitor

My apologies all. As soon as I posted, I realised that I had omitted the height and width attributes on the <svg> tag.  All better now.

View solution in original post

2 REPLIES 2
Dave0145
Frequent Visitor

My apologies all. As soon as I posted, I realised that I had omitted the height and width attributes on the <svg> tag.  All better now.

@Dave0145,

 

Glad to hear that you've solved this problem and thank you for sharing the solution. You could help mark it as answer. Your contribution is highly appreciated.

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.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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