Class NodeSeriesItem

    • Constructor Detail

      • NodeSeriesItem

        public NodeSeriesItem()
        Default constructor.
    • Method Detail

      • setFrom

        public void setFrom​(Node from)
        Parameters:
        from - The node that the link runs from.
      • setTo

        public void setTo​(Node to)
        Parameters:
        to - The node that the link runs to.
      • setClassName

        public void setClassName​(String className)

        An additional, individual class name for the data point's graphic representation.

      • setColor

        public void setColor​(Color color)

        The color for the individual link. By default, the link color is the same as the node it extends from. The series.fillOpacity option also applies to the points, so when setting a specific link color, consider setting the fillOpacity to 1.

      • setColorIndex

        public void setColorIndex​(Number colorIndex)

        A specific color index to use for the point, so its graphic representations are given the class name highcharts-color-{n}. In styled mode this will change the color of the graphic. In non-styled mode, the color by is set by the fill attribute, so the change in class name won't have a visual effect by default.

      • setDescription

        public void setDescription​(String description)

        A description of the point to add to the screen reader information about the point.

      • setId

        public void setId​(String id)

        An id for the point. This can be used after render time to get a pointer to the point object through chart.get().

      • setLabelrank

        public void setLabelrank​(Number labelrank)

        The rank for this point's data label in case of collision. If two data labels are about to overlap, only the one with the highest labelrank will be drawn.

      • setName

        public void setName​(String name)

        The name of the point as shown in the legend, tooltip, dataLabels, etc.

      • setOutgoing

        public void setOutgoing​(Boolean outgoing)

        Whether the link goes out of the system.

      • setSelected

        public void setSelected​(Boolean selected)

        Whether the data point is selected initially.

      • setWeight

        public void setWeight​(Number weight)

        The weight of the link.