Wijmo UI for the Web
colorBinding Option
wijmo.treemap.wijtreemap Namespace > options type : colorBinding Option

Default value: null

A value that indicates the field to each item's color Default color field is 'color' if colorBinding is not set.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijtreemap("option", "colorBinding");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijtreemap("option", "colorBinding", newValue);
        
});
var colorBinding : string;
See Also

Reference

options type
wijtreemap jQuery Widget