Class NetworkGraphDataLabels

    • Constructor Detail

      • NetworkGraphDataLabels

        public NetworkGraphDataLabels()
    • Method Detail

      • getLinkFormat

        public String getLinkFormat()
        Returns the format string specifying what to show for links in the networkgraph.

        Default: null

        Overrides:
        getLinkFormat in class DataLabels
      • setLinkFormat

        public void setLinkFormat​(String linkFormat)
        Sets the format string specifying what to show for links in the networkgraph.
        Overrides:
        setLinkFormat in class DataLabels
      • getLinkFormatter

        public org.zkoss.json.JavaScriptValue getLinkFormatter()
        Returns the callback to format data labels for links in the sankey diagram. The linkFormat option takes precedence over the linkFormatter.
      • setLinkFormatter

        public void setLinkFormatter​(org.zkoss.json.JavaScriptValue linkFormatter)
        Sets the callback to format data labels for links in the sankey diagram. The linkFormat option takes precedence over the linkFormatter.
      • getLinkTextPath

        public DataLabelsTextPath getLinkTextPath()
        Returns the options for a link label text which should follow link connection, if any. Otherwise, create a new one. Note: Only SVG-based renderer supports this option.
        Overrides:
        getLinkTextPath in class DataLabels
      • setLinkTextPath

        public void setLinkTextPath​(DataLabelsTextPath linkTextPath)
        Sets the options for a link label text which should follow link connection. Note: Only SVG-based renderer supports this option.
        Overrides:
        setLinkTextPath in class DataLabels