var color = { //Allow coloring allow: true, //Set min value and max value. //Default's to 0 and 100. minValue: 0, maxValue: 100, //Set color range. Default's to reddish and //greenish. It takes an array of three //integers as R, G and B values. maxColorValue: [0, 255, 50], minColorValue: [255, 0, 50] } var tips = { allow: true, //add positioning offsets offsetX: 20, offsetY: 20, //implement the onShow method to //add content to the tooltip when a node //is hovered onShow: function(tip, node, isLeaf, domElement) { tip.innerHTML = "name: " + node.name; } }

menu