Interface HasDataPoints

    • Method Detail

      • setDataPoints

        default void setDataPoints​(DataPoint... datapoints)
        Sets the data property of a dataset for a chart is specified as an array of data points.
        Parameters:
        datapoints - an array of data points
      • setDataPoints

        default void setDataPoints​(List<DataPoint> datapoints)
        Sets the data property of a dataset for a chart is specified as an array of data points.
        Parameters:
        datapoints - a list of data points
      • getDataPoints

        default List<DataPoint> getDataPoints()
        Returns the data property of a dataset for a chart is specified as an array of data points
        Returns:
        a list of data points or an empty list of data points if the data type is not DataType.POINTS.
      • getDataPoints

        default List<DataPoint> getDataPoints​(boolean binding)
        Returns the data property of a dataset for a chart is specified as an array of data points
        Parameters:
        binding - if true binds the new array list in the container
        Returns:
        a list of data points or an empty list of data points if the data type is not DataType.POINTS.