Class DataSorting

    • Constructor Detail

      • DataSorting

        public DataSorting()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Enable or disable data sorting for the series. Use xAxis.reversed to change the sorting order.

        Default: false.

      • setEnabled

        public void setEnabled​(boolean enabled)
        Enable or disable data sorting for the series. Use xAxis.reversed to change the sorting order.

        Default: false.

      • isMatchByName

        public boolean isMatchByName()
        Whether to allow matching points by name in an update. If this option is disabled, points will be matched by order.

        Default: false.

      • setMatchByName

        public void setMatchByName​(boolean matchByName)
        Whether to allow matching points by name in an update. If this option is disabled, points will be matched by order.

        Default: false.

      • getSortKey

        public String getSortKey()
        Determines what data value should be used to sort by.

        Defaults to "y".

      • setSortKey

        public void setSortKey​(String sortKey)
        Determines what data value should be used to sort by.

        Defaults to "y".