ZoomCharts Documentation

NetChart.settings.style.linkHovered

This section is defined by the type ItemsChartSettingsLinkStyle.

Additional style to apply when a link is hovered.

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
fromDecoration: "circle" | "open arrow" | "hollow arrow" | "arrow"

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
length: number
lineDash: Array<number>
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

Specifies the width of the line rendered for this link.

shadowBlur: number
Default value: 2
shadowColor: string
Default value: "blue"
shadowOffsetX: number
Default value: 0
shadowOffsetY: number
Default value: 0
strength: number
toDecoration: "circle" | "open arrow" | "hollow arrow" | "arrow"

The decoration rendered where the link ends.

Valid values:
  • circle
  • open arrow
  • hollow arrow
  • arrow
toPieColor: string
toPieValue: number
X