ZoomCharts Documentation
ZoomCharts.Configuration.ItemsChartSettingsLinkItem
Link item.
Inheritance hierarchy
This type inherits from ItemsChartSettingsItemsLayerItemStyle. Through this type it also inherits members from ItemsChartSettingsItemsLayerLabelStyle and BaseSettingsLabelStyle.
Methods
Properties
Text alignment.
The angle at which the label are rotated
Ratio between label sizes in different dimensions
Background style including fill color.
Radius of item border. Similar to CSS border radius property. Zero radius will show a rectangle
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]
Vertical space between the lines of text. In multiples of text line height.
Offset from link center along link direction. In pixels.
Offset from link center perpendicular to link direction. In pixels.
Margin around label text
Maximum width of the label.
Padding between item content and item border.
Offset from link center along link direction. A fraction of link length. Value of -1 places the item at the start of the link. Value of 1 places the item at the end of the link.
Offset from link center perpendicularly to link direction. A fraction of link radius.
Whether to rotate link labels in the same direction as link
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.
Text style including fill color and font.
How wide should the item be relative to the link length. 1 equals link length, 0 or not given uses default size calculation
X offset from link center in pixels.
Y offset from link center in pixels.
Governs the order of item drawing. Items with negative zIndex
will be drawn beneath its parent.