value

a template that specifies the area of an item rectangle

string|function value;

Example

webix.ui({
    view:"treemap",
    value: "#value#",
    data:[...]
});


Default value:

template("#value#")

Related samples

Details

The value property can be defined as a template string or as a function. A function should return the value of a data field (the value shoud be a number).

value: obj => obj.comments
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix javascript dashboard framework and page of treemap visualization product.