ZoomCharts Documentation
Switch to Version 2.0 (BETA)
NetChart.settings.style.nodeSelected.items
Node item.
Properties
Text alignment.
The angle at which the label are rotated
Ratio between label sizes in different dimensions
View section details
Background style including fill color.
Radius of item border. Similar to CSS border radius property. Zero radius will show a rectangle
Controls the order the label is drawn in if the label supports configurable draw order. Lower numbers are always drawn before later numbers, and any non-zero drawOrder is always drawn after other chart elements. Note this cannot force drawing order to change beyond the boundaries of things like rendering clips.
Extra data associated with the label
If scaling by font size, how to round the scaled font. Mainly useful for optimizing font cache usage.
Parameters
Return value
Whether to enlarge the item when its parent is being hovered.
Label image.
Slicing to use tiled images. Array of 4 values: [left, top, width, height]
X offset from node center in units of item half width.
Y offset from node center in units of item half height.
Vertical space between the lines of text. In multiples of text line height.
Margin around label text
Maximum width of the label.
The minimum space, in pixels, that a label must display before shortening the label with ellipsis is considered.
Specifies how the label handles overlap if the label supports configurable overlap strategy.
Valid values:- none - Ignore overlap and draw anyways
- skip - Don't draw if it overlaps a previously drawn label
- moveup - Move the label upwards until it no longer overlaps other labels.
- movedown - Move the label downwards until it no longer overlaps other labels.
- movevertical - Move the label either upwards or downwards to avoid overlap, depending on whichever direction moves the label less
Padding between item content and item border.
X offset from node center. A fraction of node width. Value of -1 places the item at the left edge of the node. Value of 1 places the item at the right edge of the node.
Y offset from node center. A fraction of node height. Value of -1 places the item at the top edge of the node. Value of 1 places the item at the bottom edge of the node.
How much larger or smaller the item should be drawn
Whether to apply scaling by changing the font size. Only necessary when using subpixel font sizes with large scaling factors, as otherwise the browser would have skipped calculating the font because it was too small to be seen.
Whether to apply different scale according to initial size of the link or node.
Whether to apply the scale if zoom changes. If false, the label size never changes.
Label text.
View section details
Text style including fill color and font.
X offset from node center in pixels.
Y offset from node center in pixels.
Governs the order of item drawing. Items with negative zIndex will be drawn beneath its parent.