Class SankeyDataLabels

    • Constructor Detail

      • SankeyDataLabels

        public SankeyDataLabels()
    • Method Detail

      • getNodeFormat

        public String getNodeFormat()
        Returns the format string specifying what to show for nodes in tooltip of a diagram series, as opposed to links.

        Default: "{point.name}<br>{point.title}<br>{point.description}"

        Overrides:
        getNodeFormat in class DataLabels
      • setNodeFormat

        public void setNodeFormat​(String nodeFormat)
        Sets the format string specifying what to show for nodes in tooltip of a diagram series, as opposed to links.
        Overrides:
        setNodeFormat in class DataLabels
      • getNodeFormatter

        public org.zkoss.json.JavaScriptValue getNodeFormatter()
        Returns a callback for defining the format for nodes in the chart's tooltip, as opposed to links.

        Default: null

        Overrides:
        getNodeFormatter in class DataLabels
      • setNodeFormatter

        public void setNodeFormatter​(org.zkoss.json.JavaScriptValue nodeFormatter)
        Sets a callback for defining the format for nodes in the chart's tooltip, as opposed to links.
        Overrides:
        setNodeFormatter in class DataLabels