Class HeatmapUtility

java.lang.Object
cz.fidentis.analyst.gui.elements.heatmaptable.HeatmapUtility

public class HeatmapUtility extends Object
Utility helper class for heatmap
  • Field Details

    • HIGHLIGHT_COLOR

      public static final Color HIGHLIGHT_COLOR
  • Constructor Details

    • HeatmapUtility

      public HeatmapUtility()
  • Method Details

    • getColor

      public static Color getColor(double progress)
      Gets color based on progress
      Parameters:
      progress - from which the color is computed
      Returns:
      the color that corresponds to the progress
    • getMax

      public static double getMax(List<Double> values)
      Reurns maximum value of given list
      Parameters:
      values - to find maximum value in
      Returns:
      the maximum value