I have created a jqxTreeMap but no data is displayed in the browser. I know it’s
there by looking at the DOM in developer tools, but it seems the elements have no
width or height properties. If I stop the debugger and inject some style to the
element it can see that all the data is there but it just not showing.
I have read the documentation for jqxTreeMap and I am still trying to understand
how the widget sizes the data. I read that:
“A leaf node’s rectangle has an area proportional to a specified dimension on the data.”
But I find that a very ambiguous statement. Can someone please expand and/or explain
how the data sized and positioned? Any help would be greatly appreciated.
The size of the items is based on their value property. There is algorithm in the widget’s code which calculates the sizes of the individual items and groups of items. The TreeMap of course should have width and height properties set. We would suggest you to use the examples and their code as a starting point.