Source: 3rdparty/dvt/doc/ojtreemap_options.js

Oracle® JavaScript Extension Toolkit (JET)
1.1.2

E65298-01

/**
 * Specifies the animation duration in milliseconds. Also accepts CSS strings such as 1s and 1000ms. For data change animations with multiple stages, this attribute defines the duration of each stage. For example, if an animation contains two stages, the total duration will be two times this attribute's value.
 * @expose
 * @name animationDuration
 * @memberof oj.ojTreemap
 * @instance
 * @type {number}
 * @default <code class="prettyprint">null</code>
 */
/**
 * Specifies the animation that is applied on data changes.
 * @expose
 * @name animationOnDataChange
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "auto"
 * @ojvalue {string} "none"
 * @default <code class="prettyprint">"none"</code>
 */
/**
 * Specifies the animation that is shown on initial display.
 * @expose
 * @name animationOnDisplay
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "auto"
 * @ojvalue {string} "none"
 * @default <code class="prettyprint">"none"</code>
 */
/**
 * The color that is displayed during a data change animation when a node is updated.
 * @expose
 * @name animationUpdateColor
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * An array of category strings used for filtering. Nodes with any category matching an item in this array will be filtered.
 * @expose
 * @name hiddenCategories
 * @memberof oj.ojTreemap
 * @instance
 * @type {Array.<string>}
 * @default <code class="prettyprint">null</code>
 */
/**
 * An array of category strings used for highlighting. Nodes matching all categories in this array will be highlighted.
 * @expose
 * @name highlightedCategories
 * @memberof oj.ojTreemap
 * @instance
 * @type {Array.<string>}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The matching condition for the highlightedCategories option. By default, highlightMatch is 'all' and only items whose categories match all of the values specified in the highlightedCategories array will be highlighted. If highlightMatch is 'any', then items that match at least one of the highlightedCategories values will be highlighted.
 * @expose
 * @name highlightMatch
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "any"
 * @ojvalue {string} "all"
 * @default <code class="prettyprint">"all"</code>
 */
/**
 * Defines the behavior applied when hovering over the nodes.
 * @expose
 * @name hoverBehavior
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "dim"
 * @ojvalue {string} "none"
 * @default <code class="prettyprint">"none"</code>
 */
/**
 * Specifies initial hover delay in ms for highlighting items in legend. Also accepts CSS strings such as 1s and 1000ms.
 * @expose
 * @name hoverBehaviorDelay
 * @memberof oj.ojTreemap
 * @instance
 * @type {number|string}
 * @default <code class="prettyprint">null</code>
 */
/**
 *  A function that returns a custom tooltip. The function takes a dataContext argument, provided by the treemap, with the following properties: <ul> <li>parentElement: The tooltip element. The function can directly modify or append content to this element.</li> <li>id: The id of the hovered node.</li> <li>label: The label of the hovered node.</li> <li>value: The value of the hovered node.</li> <li>color: The color of the hovered node.</li> </ul> The function may return an HTML element, which will be appended to the tooltip, or a tooltip string. 
 * @expose
 * @name tooltip
 * @memberof oj.ojTreemap
 * @instance
 * @type {function(object)}
 * @default <code class="prettyprint">null</code>
 */
/**
 * Specifies whether gaps are displayed between groups. Gaps can be useful for drawing attention to the differences between groups.
 * @expose
 * @name groupGaps
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "all"
 * @ojvalue {string} "none"
 * @ojvalue {string} "outer"
 * @default <code class="prettyprint">"outer"</code>
 */
/**
 * Specifies the layout of the treemap. The squarified layout results in nodes that are as square as possible, for easier comparison of node sizes. The sliceAndDice layouts are useful for animation, as the ordering of the data is maintained. SliceAndDice layouts are also useful for small form factor treemaps.
 * @expose
 * @name layout
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "sliceAndDiceHorizontal"
 * @ojvalue {string} "sliceAndDiceVertical"
 * @ojvalue {string} "squarified"
 * @default <code class="prettyprint">"squarified"</code>
 */
/**
 * An array of objects with the following properties that defines the data for the nodes.
 * @expose
 * @name nodes
 * @memberof oj.ojTreemap
 * @instance
 * @type {Array.<Object>}
 * @default <code class="prettyprint">null</code>
 */
/**
 * An array of objects with properties for the child nodes.
 * @expose
 * @name nodes[].nodes
 * @memberof! oj.ojTreemap
 * @instance
 * @type {Array.<Object>}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The id of the node.
 * @expose
 * @name nodes[].id
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * An optional array of category strings corresponding to this data item. This enables highlighting and filtering of individual data items through interactions with the legend and other components. The categories array of each node is required to be a superset of the categories array of its parent node. If not specified, the ids of the node and its ancestors will be used.
 * @expose
 * @name nodes[].categories
 * @memberof! oj.ojTreemap
 * @instance
 * @type {Array.<string>}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The value of the node. The value determines the relative size of the node.
 * @expose
 * @name nodes[].value
 * @memberof! oj.ojTreemap
 * @instance
 * @type {number}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The fill color of the node.
 * @expose
 * @name nodes[].color
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The label for this node.
 * @expose
 * @name nodes[].label
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The description of this node. This is used for accessibility and also for customizing the tooltip text.
 * @expose
 * @name nodes[].shortDesc
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The pattern used to fill the node.
 * @expose
 * @name nodes[].pattern
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "smallChecker"
 * @ojvalue {string} "smallCrosshatch"
 * @ojvalue {string} "smallDiagonalLeft"
 * @ojvalue {string} "smallDiagonalRight"
 * @ojvalue {string} "smallDiamond"
 * @ojvalue {string} "smallTriangle"
 * @ojvalue {string} "largeChecker"
 * @ojvalue {string} "largeCrosshatch"
 * @ojvalue {string} "largeDiagonalLeft"
 * @ojvalue {string} "largeDiagonalRight"
 * @ojvalue {string} "largeDiamond"
 * @ojvalue {string} "largeTriangle"
 * @ojvalue {string} "none"
 * @default <code class="prettyprint">"none"</code>
 */
/**
 * The CSS style string defining the style of the label.
 * @expose
 * @name nodes[].labelStyle
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The label display behavior for leaf nodes.
 * @expose
 * @name nodes[].labelDisplay
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "off"
 * @ojvalue {string} "node"
 * @default <code class="prettyprint">"node"</code>
 */
/**
 * The label display behavior for group nodes.
 * @expose
 * @name nodes[].groupLabelDisplay
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "node"
 * @ojvalue {string} "off"
 * @ojvalue {string} "header"
 * @default <code class="prettyprint">"header"</code>
 */
/**
 * The horizontal alignment for labels displayed within the node.
 * @expose
 * @name nodes[].labelHalign
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "start"
 * @ojvalue {string} "end"
 * @ojvalue {string} "center"
 * @default <code class="prettyprint">"center"</code>
 */
/**
 * The vertical alignment for labels displayed within the node.
 * @expose
 * @name nodes[].labelValign
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "top"
 * @ojvalue {string} "bottom"
 * @ojvalue {string} "center"
 * @default <code class="prettyprint">"center"</code>
 */
/**
 * Specifies whether or not the node will be selectable.
 * @expose
 * @name nodes[].selectable
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "off"
 * @ojvalue {string} "auto"
 * @default <code class="prettyprint">"auto"</code>
 */
/**
 * An object defining the properties for the node header.
 * @expose
 * @name nodes[].header
 * @memberof! oj.ojTreemap
 * @instance
 * @type {object}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The horizontal alignment of the header title.
 * @expose
 * @name nodes[].header.labelHalign
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "center"
 * @ojvalue {string} "end"
 * @ojvalue {string} "start"
 * @default <code class="prettyprint">"start"</code>
 */
/**
 * The CSS style string defining the style of the header title.
 * @expose
 * @name nodes[].header.labelStyle
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * Specifies whether isolate behavior is enabled on the node.
 * @expose
 * @name nodes[].header.isolate
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "off"
 * @ojvalue {string} "on"
 * @default <code class="prettyprint">"on"</code>
 */
/**
 * Specifies whether the node color should be displayed in the header.
 * @expose
 * @name nodes[].header.useNodeColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "on"
 * @ojvalue {string} "off"
 * @default <code class="prettyprint">"off"</code>
 */
/**
 * An object defining default properties for the nodes.
 * @expose
 * @name nodeDefaults
 * @memberof oj.ojTreemap
 * @instance
 * @type {object}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The CSS style string defining the style of the label.
 * @expose
 * @name nodeDefaults.labelStyle
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The label display behavior for leaf nodes.
 * @expose
 * @name nodeDefaults.labelDisplay
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "off"
 * @ojvalue {string} "node"
 * @default <code class="prettyprint">"node"</code>
 */
/**
 * The label display behavior for group nodes.
 * @expose
 * @name nodeDefaults.groupLabelDisplay
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "node"
 * @ojvalue {string} "off"
 * @ojvalue {string} "header"
 * @default <code class="prettyprint">"header"</code>
 */
/**
 * The horizontal alignment for labels displayed within the node.
 * @expose
 * @name nodeDefaults.labelHalign
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "start"
 * @ojvalue {string} "end"
 * @ojvalue {string} "center"
 * @default <code class="prettyprint">"center"</code>
 */
/**
 * The vertical alignment for labels displayed within the node.
 * @expose
 * @name nodeDefaults.labelValign
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "top"
 * @ojvalue {string} "bottom"
 * @ojvalue {string} "center"
 * @default <code class="prettyprint">"center"</code>
 */
/**
 * The color of the node hover feedback.
 * @expose
 * @name nodeDefaults.hoverColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The inner color of the node selection feedback.
 * @expose
 * @name nodeDefaults.selectedInnerColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The outer color of the node selection feedback.
 * @expose
 * @name nodeDefaults.selectedOuterColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * An object defining default properties for the node header.
 * @expose
 * @name nodeDefaults.header
 * @memberof! oj.ojTreemap
 * @instance
 * @type {object}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The background color of the node headers.
 * @expose
 * @name nodeDefaults.header.backgroundColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The border color of the node headers.
 * @expose
 * @name nodeDefaults.header.borderColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The background color of the node hover feedback.
 * @expose
 * @name nodeDefaults.header.hoverBackgroundColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The inner color of the node hover feedback.
 * @expose
 * @name nodeDefaults.header.hoverInnerColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The outer color of the node hover feedback.
 * @expose
 * @name nodeDefaults.header.hoverOuterColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The background color of the node selection feedback.
 * @expose
 * @name nodeDefaults.header.selectedBackgroundColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The inner color of the node selection feedback.
 * @expose
 * @name nodeDefaults.header.selectedInnerColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The outer color of the node selection feedback.
 * @expose
 * @name nodeDefaults.header.selectedOuterColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The horizontal alignment of the header title.
 * @expose
 * @name nodeDefaults.header.labelHalign
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "center"
 * @ojvalue {string} "end"
 * @ojvalue {string} "start"
 * @default <code class="prettyprint">"start"</code>
 */
/**
 * The CSS style string defining the style of the header title.
 * @expose
 * @name nodeDefaults.header.labelStyle
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * Specifies whether isolate behavior is enabled on the node.
 * @expose
 * @name nodeDefaults.header.isolate
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "off"
 * @ojvalue {string} "on"
 * @default <code class="prettyprint">"on"</code>
 */
/**
 * Specifies whether the node color should be displayed in the header.
 * @expose
 * @name nodeDefaults.header.useNodeColor
 * @memberof! oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "on"
 * @ojvalue {string} "off"
 * @default <code class="prettyprint">"off"</code>
 */
/**
 * Specifies the selection mode.
 * @expose
 * @name selectionMode
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "none"
 * @ojvalue {string} "single"
 * @ojvalue {string} "multiple"
 * @default <code class="prettyprint">"multiple"</code>
 */
/**
 * Specifies whether whether the nodes are sorted by size. When sorting is enabled, nodes that have the same parent are sorted in order of descending size.
 * @expose
 * @name sorting
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @ojvalue {string} "on"
 * @ojvalue {string} "off"
 * @default <code class="prettyprint">"off"</code>
 */
/**
 * Specifies the label describing the color metric of the component. This label will be used in the legend.
 * @expose
 * @name colorLabel
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * Specifies the label describing the size metric of the component. This label will be used in the legend.
 * @expose
 * @name sizeLabel
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */
/**
 * An array containing the ids of the initially selected nodes.
 * @expose
 * @name selection
 * @memberof oj.ojTreemap
 * @instance
 * @type {Array.<string>}
 * @default <code class="prettyprint">null</code>
 */
/**
 * The id of the initially isolated node.
 * @expose
 * @name isolatedNode
 * @memberof oj.ojTreemap
 * @instance
 * @type {string}
 * @default <code class="prettyprint">null</code>
 */