Warning
This help isn’t complete. It may even look terrible. If you want to work on it, see How to Contribute. You can also ask for help in the Juice Slack #documentation channel.
Contents
A Key Metrics Hierarchy slice consists of a series of ranked nodes. Arrows can emanate to or from nodes to show the direction of flow. Some nodes include multiple pieces of data in it. The metrics in each node of the tree are comprised of the metrics that point to it.
This slice is sometimes called the “squid” slice.
Key Metrics Hierarchy slices support the Common configuration options for all slices. Additional options are:
The height of the visual component.
Optional: | Yes, defaults to 420. |
---|---|
Values: | numbers (in pixels) |
Example: | config:
height: 800
|
The width of the visual component.
Optional: | Yes, defaults to 800 |
---|---|
Values: | numbers (in pixels) |
Example: | config:
width: 600
|
The margins of the visual component.
Optional: | Yes, defaults to |
---|---|
Values: | JS object with “top”, “bottom”, “left” and “right” properties |
Example: | config:
margin: {top: 60, right: 20, bottom: 100, left: 20}
|
Orientation of the hierarchy.
Optional: | Yes, default is “top-to-bottom” |
---|---|
Values: | “top-to-bottom” or “bottom-to-top” or “left-to-right” or “right-to-left” |
Example: | config:
orient: "left-to-right"
|
The radius of the nodes.
Optional: | Yes, default is 25. |
---|---|
Values: | number (in pixels) |
Example: | config:
radius: 20
|
A flag that indicates if the leaf nodes should be grouped.
Optional: | Yes, default is |
---|---|
Values: | true|false |
Example: | config:
groupLeafNodes: false
|