Class Responsive.Condition

    • Constructor Detail

      • Condition

        public Condition()
    • Method Detail

      • getCallback

        public org.zkoss.json.JavaScriptValue getCallback()
        Returns a callback function to gain complete control on when the responsive rule applies. Return true if it applies. This opens for checking against other metrics than the chart size, for example the document size or other elements. Context: Highcharts.Chart

        Default: null

      • setCallback

        public void setCallback​(org.zkoss.json.JavaScriptValue callback)
        Sets a callback function to gain complete control on when the responsive rule applies. Return true if it applies. This opens for checking against other metrics than the chart size, for example the document size or other elements. Context: Highcharts.Chart
      • getMaxHeight

        public Number getMaxHeight()
        Returns the value the responsive rule applies if the chart height is less than this.

        Default: null

      • setMaxHeight

        public void setMaxHeight​(Number maxHeight)
        Sets the value the responsive rule applies if the chart height is less than this.
      • getMaxWidth

        public Number getMaxWidth()
        Returns the value the responsive rule applies if the chart width is less than this.

        Default: null

      • setMaxWidth

        public void setMaxWidth​(Number maxWidth)
        Sets the value the responsive rule applies if the chart width is less than this.
      • getMinHeight

        public Number getMinHeight()
        Returns the value the responsive rule applies if the chart height is greater than this.

        Default: 0

      • setMinHeight

        public void setMinHeight​(Number minHeight)
        Sets the value the responsive rule applies if the chart height is greater than this.
      • getMinWidth

        public Number getMinWidth()
        Returns the value the responsive rule applies if the chart width is greater than this.

        Default: 0

      • setMinWidth

        public void setMinWidth​(Number minWidth)
        Sets the value the responsive rule applies if the chart width is greater than this.