ZoomCharts Documentation

NetChart.settings.style.link

This section is defined by the type ItemsChartSettingsLinkStyle.

Default link style.

Properties

arcAmount: number

How high the curve of the link is, if curving is enabled. Can be negative to arc in the other direction.

arcOffset: number

Where the arc of the curve occurs along the link, between -1.0 and 1.0. -1.0 for at the start point, 1.0 for at the end point.

cursor: string
definesLayout: boolean

Whether this link is considered in calculating a hierarchy layout

direction: string

null or "U", "D", "L", "R"

fillColor: string
Default value: "#333"
fromDecoration: "circle" | "open arrow" | "hollow arrow" | "arrow"
Default value: null

The decoration rendered where the link starts.

Valid values:
  • circle
  • open arrow
  • hollow arrow
  • arrow
invisible: boolean

Specifies if the link is invisible - thus completely skipping the drawing and hit testing. This can be used, for example, to hide all links and showing only ones that meet certain criteria using linkStyleFunction.

label: string
Default value: null
length: number
Default value: 1
lineDash: Array<number>
Default value: null
lineDashBackgroundFillColor: string
lineDashShape: "rectangle" | "triangle" | "hexagon" | "inverseTriangle" | "inverseHexagon" | "diamond"
orthogonalOffset: number

Where along the link should an orthogonal link split to the other link between 0.0 and 1.0 for the start and end respectively. Note it must not be exactly 0.0 or 1.0.

radius: number
Default value: 1

Specifies the width of the line rendered for this link.

shadowBlur: number
shadowColor: string
Default value: null
shadowOffsetX: number
shadowOffsetY: number
strength: number
Default value: 1
toDecoration: "circle" | "open arrow" | "hollow arrow" | "arrow"
Default value: null

The decoration rendered where the link ends.

Valid values:
  • circle
  • open arrow
  • hollow arrow
  • arrow
toPieColor: string
Default value: null
toPieValue: number
Default value: 0
X