Class ArcDiagramPlotOptions

    • Constructor Detail

      • ArcDiagramPlotOptions

        public ArcDiagramPlotOptions()
    • Method Detail

      • getBorderColor

        public String getBorderColor()
        Returns the color of the border surrounding each column or bar.

        Default: #ffffff

      • setBorderColor

        public void setBorderColor​(String borderColor)
        Sets the color of the border surrounding each column or bar.
      • getBorderWidth

        public Number getBorderWidth()
        Returns the width of the border surrounding each column or bar.

        Default: 0 when the columns are so dense that a border would cover the next column.

        Overrides:
        getBorderWidth in class SeriesPlotOptions
      • setBorderWidth

        public void setBorderWidth​(Number borderWidth)
        Sets the width of the border surrounding each column or bar.
        Overrides:
        setBorderWidth in class SeriesPlotOptions
      • isCenteredLinks

        public boolean isCenteredLinks()
        Returns the option to center links rather than position them one after another

        Default: false.

      • setCenteredLinks

        public void setCenteredLinks​(boolean centeredLinks)
        Sets the option to center links rather than position them one after another
      • isColorByPoint

        public boolean isColorByPoint()
        Returns whether the chart should receive one color per series or one color per point.

        Default: true.

        Overrides:
        isColorByPoint in class SeriesPlotOptions
      • setColorByPoint

        public void setColorByPoint​(boolean colorByPoint)
        Sets whether the chart should receive one color per series or one color per point.
        Overrides:
        setColorByPoint in class SeriesPlotOptions
      • setColors

        public void setColors​(List<Color> colors)
        Sets the series specific or series type specific color set to apply instead of the global colors when isColorByPoint() is true.
      • setColors

        public void setColors​(String... colors)
        Sets the series specific or series type specific color set to apply instead of the global colors when isColorByPoint() is true.
      • setColors

        public void setColors​(Color... colors)
        Sets the series specific or series type specific color set to apply instead of the global colors when isColorByPoint() is true.
      • getColors

        public List<Color> getColors()
        Returns the series specific or series type specific color set to apply instead of the global colors when isColorByPoint() is true.
      • isEqualNodes

        public boolean isEqualNodes()
        Returns whether nodes with different values should have the same size. If set to true, all nodes are calculated based on the nodePadding and current plotArea.

        Default: false.

      • setEqualNodes

        public void setEqualNodes​(boolean equalNodes)
        Sets whether nodes with different values should have the same size. If set to true, all nodes are calculated based on the nodePadding and current plotArea.
      • getLevels

        public List<Level> getLevels()
        Returns options on specific levels. Takes precedence over series options, but not node and link options.

        Default: null

      • setLevels

        public void setLevels​(List<Level> levels)
        Set options on specific levels. Takes precedence over series options, but not node and link options.
      • setLevels

        public void setLevels​(Level... levels)
        Set options on specific levels. Takes precedence over series options, but not node and link options.
      • getLinkOpacity

        public Number getLinkOpacity()
        Returns linkOpacity on all points which lay on the same level.

        Default: 0.5

      • setLinkOpacity

        public void setLinkOpacity​(Number linkOpacity)
        Sets linkOpacity on all points which lay on the same level.
      • getLinkWeight

        public Number getLinkWeight()
        The global link weight. If not set, width is calculated per link, depending on the weight value. (Requires arcdiagram)

        Defaults to null.

      • setLinkWeight

        public void setLinkWeight​(Number linkWeight)
        The global link weight. If not set, width is calculated per link, depending on the weight value. (Requires arcdiagram)

        Defaults to null.

      • getMinLinkWidth

        public Number getMinLinkWidth()
        Returns the minimal width for a line of a sankey.

        Default: 0

      • setMinLinkWidth

        public void setMinLinkWidth​(Number minLinkWidth)
        Sets the minimal width for a line of a sankey.
      • getNodeWidth

        public Number getNodeWidth()
        Returns the pixel width of each node in a sankey diagram or dependency wheel, or the height in case the chart is inverted.

        Default: 20

      • setNodeWidth

        public void setNodeWidth​(Number nodeWidth)
        Sets the pixel width of each node in a sankey diagram or dependency wheel, or the height in case the chart is inverted.
      • getOffset

        public String getOffset()
        Returns the offset of an arc diagram nodes column in relation to the plotArea. The offset equal to 50% places nodes in the center of a chart. By default the series is placed so that the biggest node is touching the bottom border of the plotArea.

        Default: "100%"

      • setOffset

        public void setOffset​(String offset)
        Sets the offset of an arc diagram nodes column in relation to the plotArea. The offset equal to 50% places nodes in the center of a chart. By default the series is placed so that the biggest node is touching the bottom border of the plotArea.

        Default: "100%"

      • isReversed

        public boolean isReversed()
        Returns whether the series should be placed on the other side of the plotArea.

        Default: false.

      • setReversed

        public void setReversed​(boolean reversed)
        Sets whether the series should be placed on the other side of the plotArea.