Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
chrismarlow
Specialist II
Specialist II

Extension not rendering whole area with supplied HTML/SVG

Hi,

I've been trying to port over an extension that I wrote in QlikView to Qlik Sense. I thought I would just try from the basic template first and look later at the more complex templates, so it is really simply trying to write back HTML consisting of SVG rectangles, written the old fashioned way of bolting text together.

In QlikView (first screenshot) it works & as you resize it fills the object, which suggests my calculation of the coordinates is fine (that code is reused).

In Qlik Sense (second screen shot is edit mode, third is once you have come out of edit) part of the background is blank, and a different part between the two.

I have fiddled around with the different height/width options available but the boxes that appear look the right size so think that is not the problem. Any ideas?

Cheers,

Chris.

QlikView (same object 2 times with different sizes);

20190125_1.png

Qlik Sense (edit/design mode);

20190125_2.png

Qlik Sense (normal view);

20190125_3.png

1 Solution

Accepted Solutions
mek
Employee
Employee

It looks to me that your treemap is being rendered in the default svg size of 300x150px, you need to set the width and height of  the svg to the same size as the parent element.

View solution in original post

2 Replies
mek
Employee
Employee

It looks to me that your treemap is being rendered in the default svg size of 300x150px, you need to set the width and height of  the svg to the same size as the parent element.

chrismarlow
Specialist II
Specialist II
Author

Yes, that was spot on. I'd tried putting height/width in the div element, but not thought about trying the svg. Funny that QlikView does not need that.

Many thanks,

Chris.