Class ParetoModel

java.lang.Object
eu.hansolo.fx.charts.pareto.ParetoModel

public class ParetoModel extends Object
authors: Michael Läuchli, MLaeuchli (github) Stefan Mettler, orizion (github)
  • Constructor Details

    • ParetoModel

      public ParetoModel(String title, List<ParetoBar> data)
      Parameters:
      title - The Title displayed for the ParetoChart
      data - The data to be displayed
    • ParetoModel

      public ParetoModel(List<ParetoBar> data)
      Parameters:
      data - The data to be displayed
    • ParetoModel

      public ParetoModel()
    • ParetoModel

      public ParetoModel(ParetoModel model)
      Parameters:
      model - Copy constructor
  • Method Details

    • getData

      public ArrayList<ParetoBar> getData()
      Returns:
      The list of ParetoBars contained in this Model
    • setData

      public void setData(List<ParetoBar> DATA)
      Parameters:
      DATA - Sets the passed List as the new List oif ParetoBars in the Model
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String TITLE)
    • getMin

      public double getMin()
      Returns:
      Returns the smallest value among the ParetoBars
    • getMax

      public double getMax()
      Returns:
      Returns the biggest value among the ParetoBars
    • getTotal

      public double getTotal()
      Returns:
      Returns the total value of all the ParetoBars