{
label: '.',
value: 0.05,
parent: 'City',
color: '#fff',
data: { description: "", title: "Road Side" }
},
here can pass height and width of childblocks
$('#treemap').jqxTreeMap({
width: 900,
height: 200,
source: data,
colorRange: 50,
layout: 'vertical',
renderCallbacks: {
'*': function (element, value) {
if (value.data) {
element.jqxTooltip({
content: '<div><div style="font-weight: bold; max-width: 200px; font-family: verdana; font-size: 13px;">' + value.data.title + '</div><div style="width: 200px; font-family: verdana; font-size: 12px;">' + value.data.description + '</div></div>',
position: 'mouse',
autoHideDelay: 6000,
theme: theme
});
} else if (value.data === undefined) {
element.css({
backgroundColor: '#fff',
border: '1px solid #555'
});
}
}
}
});
});
i want to display childblocks fix height and width where data has been passed from json