ZoomCharts Documentation
Switch to Version 2.0 (BETA)
NetChart.settings.style.nodeHovered
Additional style to apply when a node is hovered.
Properties
Node anchor mode.
Node anchor y position. If not set, initial position will be calculated automatically and conserved.
The coordinate space is dependant on anchorMode value.
- anchorMode = "Scene" - the value is in scene coordinates.
- anchorMode = "Display" - the value is in pixels from top-left corner of the chart area.
Node anchor y position. If not set, initial position will be calculated automatically and conserved.
The coordinate space is dependant on anchorMode value.
- anchorMode = "Scene" - the value is in scene coordinates.
- anchorMode = "Fixed" - the value is in pixels from top-left corner of the chart area.
When display="rectangle", this setting determines the width/height ratio of the rectangle. The longest edge of the rectangle will be set to "radius" and the shortest will be calculated from this variable.
The ID of one or more auras to which the node belongs. Nodes with the same aura ID will be visually grouped together.
Note that if multiple auras for a single node are specified, auras.overlap setting should be set to true.
When display is rectText or verticalRectText, corner radius in node scene units (i.e. same units as regular radius, not screen pixels).
Cursor to show when node is hovered.
Valid values: circle (default), text, rectText, verticalRectText, roundtext, droplet, rectangle, rhombus, diamond, customShape
Controls if node is draggable; Values: draggable false - node cannot be dragged; draggable true - node can be dragged; Default is true.
Fill gradient. For example: [[0,"black"],[0.5,"red"],[1, "orange"]].
Forces hierarchy layout to consider this node in a specific category for layout purposes
Forces hierarchy layout to place the node at a specific level
Forces hierarchy layout to place the node a certain number of levels above or below it's expected location
How much padding is between the left/right of the node and the inner contents. Currently only applies in verticalrecttext mode.
Specifies how the image should be aligned. Currently only applies in verticalrecttext mode.
Specifies the image cropping method. Valid values are false (disable cropping), true (default cropping mode), "crop", "letterbox" and "fit".
How much padding is around the image. Currently only applies in verticalrecttext mode.
The size of the image relative to the node size. 1.0 is directly proportional to the node radius. Currently only applies in verticalrecttext mode.
Specifies if the node is invisible - thus completely skipping the drawing and hit testing. This can be used, for example, to hide all nodes
and showing only ones that meet certain criteria using nodeStyleFunction.
The label text that is displayed below the node. Set to an empty string "" to remove the label if it has been added before.
Node opacity.
How much padding is between the top/bottom of the node and the inner contents. Currently only applies in verticalrecttext mode.