This method is equivalent to d3-hierarchy's sort, it receives two arguments representing two sibling nodes and expects a numeric return value ( -1, 0 or 1) indicating the order. A value of null ( default) maintains the existing order found in the input data structure. Getter/setter for the compare method used to sort sibling blocks. Getter/setter for whether to exclude the root node from the representation. Getter/setter for the minimum area of a block (in square px) required for it to be rendered in the DOM. Determines the CSS class(es) to apply to each block node. Getter/setter for a node object classname accessor. Getter/setter for a node object color accessor, used to color the blocks. Getter/setter for the amount of padding between adjacent blocks, in px. Getter/setter for a node object size accessor, used to compute the areas of the blocks. Getter/setter for a node object label accessor, used to display labels on the blocks and their tooltips. Supports either a string indicating the object's property name, or a function(node) which should return an array of nodes. Getter/setter for a data node's children accessor, used to establish the hierarchical relationship between nodes. Getter/setter for the chart height in px. Getter/setter for chart data (see below for syntax details).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |