Class HeatMapStyler


public class HeatMapStyler extends AxesChartStyler
  • Field Details

    • isPiecewise

      private boolean isPiecewise
    • isPiecewiseRanged

      private boolean isPiecewiseRanged
    • splitNumber

      private int splitNumber
    • DEFAULT_RANGE_COLORS

      private static final Color[] DEFAULT_RANGE_COLORS
      default range colors, {'#00FFFF'}
    • rangeColors

      private Color[] rangeColors
    • isDrawBorder

      private boolean isDrawBorder
    • showValue

      private boolean showValue
    • valueFont

      private Font valueFont
    • valueFontColor

      private Color valueFontColor
    • min

      double min
    • max

      double max
    • gradientColorColumnWeight

      private int gradientColorColumnWeight
    • gradientColorColumnHeight

      private int gradientColorColumnHeight
    • heatMapValueDecimalPattern

      private String heatMapValueDecimalPattern
    • heatMapDecimalValueFormatter

      private Function<Double,String> heatMapDecimalValueFormatter
  • Constructor Details

    • HeatMapStyler

      public HeatMapStyler()
  • Method Details

    • setTheme

      public void setTheme(Theme theme)
      Set the theme the styler should use
      Parameters:
      theme -
    • setAllStyles

      public void setAllStyles()
      Overrides:
      setAllStyles in class AxesChartStyler
    • setLegendPosition

      public HeatMapStyler setLegendPosition(Styler.LegendPosition legendPosition)
      Description copied from class: Styler
      sets the legend position
      Overrides:
      setLegendPosition in class Styler
      Parameters:
      legendPosition -
    • isPiecewise

      public boolean isPiecewise()
    • setPiecewise

      public HeatMapStyler setPiecewise(boolean isPiecewise)
    • getSplitNumber

      public int getSplitNumber()
    • setSplitNumber

      public HeatMapStyler setSplitNumber(int splitNumber)
    • getRangeColors

      public Color[] getRangeColors()
    • setRangeColors

      public HeatMapStyler setRangeColors(Color[] rangeColors)
    • isDrawBorder

      public boolean isDrawBorder()
    • setDrawBorder

      public HeatMapStyler setDrawBorder(boolean isDrawBorder)
    • isShowValue

      public boolean isShowValue()
    • setShowValue

      public HeatMapStyler setShowValue(boolean showValue)
    • getValueFont

      public Font getValueFont()
    • setValueFont

      public HeatMapStyler setValueFont(Font valueFont)
    • getValueFontColor

      public Color getValueFontColor()
    • setValueFontColor

      public HeatMapStyler setValueFontColor(Color valueFontColor)
    • getMin

      public double getMin()
    • setMin

      public HeatMapStyler setMin(double min)
    • getMax

      public double getMax()
    • setMax

      public HeatMapStyler setMax(double max)
    • getGradientColorColumnWeight

      public int getGradientColorColumnWeight()
    • setGradientColorColumnWeight

      public HeatMapStyler setGradientColorColumnWeight(int gradientColorColumnWeight)
    • getGradientColorColumnHeight

      public int getGradientColorColumnHeight()
    • setGradientColorColumnHeight

      public HeatMapStyler setGradientColorColumnHeight(int gradientColorColumnHeight)
    • getHeatMapValueDecimalPattern

      public String getHeatMapValueDecimalPattern()
    • setHeatMapValueDecimalPattern

      public HeatMapStyler setHeatMapValueDecimalPattern(String heatMapValueDecimalPattern)
    • getHeatMapDecimalValueFormatter

      public Function<Double,String> getHeatMapDecimalValueFormatter()
    • setHeatMapDecimalValueFormatter

      public HeatMapStyler setHeatMapDecimalValueFormatter(Function<Double,String> heatMapDecimalValueFormatter)
    • isPiecewiseRanged

      public boolean isPiecewiseRanged()
    • setPiecewiseRanged

      public HeatMapStyler setPiecewiseRanged(boolean piecewiseRanged)