Class HeatMapStyler
java.lang.Object
org.knowm.xchart.style.Styler
org.knowm.xchart.style.AxesChartStyler
org.knowm.xchart.style.HeatMapStyler
-
Nested Class Summary
Nested classes/interfaces inherited from class AxesChartStyler
AxesChartStyler.TextAlignmentNested classes/interfaces inherited from class Styler
Styler.ChartButtonPosition, Styler.ChartTheme, Styler.LegendLayout, Styler.LegendPosition, Styler.ToolTipType, Styler.YAxisPosition -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Color[]default range colors, {'#00FFFF'}private intprivate intprivate Stringprivate booleanprivate booleanprivate boolean(package private) double(package private) doubleprivate Color[]private booleanprivate intprivate Fontprivate Color -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintdoublegetMax()doublegetMin()Color[]intbooleanbooleanbooleanbooleanvoidsetDrawBorder(boolean isDrawBorder) setGradientColorColumnHeight(int gradientColorColumnHeight) setGradientColorColumnWeight(int gradientColorColumnWeight) setHeatMapDecimalValueFormatter(Function<Double, String> heatMapDecimalValueFormatter) setHeatMapValueDecimalPattern(String heatMapValueDecimalPattern) setLegendPosition(Styler.LegendPosition legendPosition) sets the legend positionsetMax(double max) setMin(double min) setPiecewise(boolean isPiecewise) setPiecewiseRanged(boolean piecewiseRanged) setRangeColors(Color[] rangeColors) setShowValue(boolean showValue) setSplitNumber(int splitNumber) voidSet the theme the styler should usesetValueFont(Font valueFont) setValueFontColor(Color valueFontColor) Methods inherited from class AxesChartStyler
getAxisTickLabelsColor, getAxisTickLabelsFont, getAxisTickMarkLength, getAxisTickMarksColor, getAxisTickMarksStroke, getAxisTickPadding, getAxisTitleFont, getAxisTitlePadding, getDatePattern, getErrorBarsColor, getLocale, getPlotGridLinesColor, getPlotGridLinesStroke, getPlotMargin, getTimezone, getXAxisDecimalPattern, getXAxisLabelAlignment, getXAxisLabelAlignmentVertical, getXAxisLabelRotation, getXAxisMax, getXAxisMaxLabelCount, getXAxisMin, getXAxisTickLabelsColor, getxAxisTickLabelsFormattingFunction, getXAxisTickMarksColor, getXAxisTickMarkSpacingHint, getYAxisDecimalPattern, getYAxisGroupDecimalPatternMap, getYAxisGroupTickLabelsColorMap, getYAxisGroupTickMarksColorMap, getYAxisLabelAlignment, getYAxisMax, getYAxisMax, getYAxisMin, getYAxisMin, getYAxisTickLabelsColor, getyAxisTickLabelsFormattingFunction, getYAxisTickMarksColor, getYAxisTickMarkSpacingHint, isAxisTicksLineVisible, isAxisTicksMarksVisible, isErrorBarsColorSeriesColor, isPlotGridHorizontalLinesVisible, isPlotGridLinesVisible, isPlotGridVerticalLinesVisible, isPlotTicksMarksVisible, isXAxisLogarithmic, isXAxisLogarithmicDecadeOnly, isXAxisTicksVisible, isXAxisTitleVisible, isYAxisLogarithmic, isYAxisLogarithmicDecadeOnly, isYAxisTicksVisible, isYAxisTitleVisible, putYAxisGroupDecimalPatternMap, setAxisTickLabelsColor, setAxisTickLabelsFont, setAxisTickMarkLength, setAxisTickMarksColor, setAxisTickMarksStroke, setAxisTickPadding, setAxisTicksLineVisible, setAxisTicksMarksVisible, setAxisTicksVisible, setAxisTitleFont, setAxisTitlePadding, setAxisTitlesVisible, setDatePattern, setErrorBarsColor, setErrorBarsColorSeriesColor, setLocale, setPlotGridHorizontalLinesVisible, setPlotGridLinesColor, setPlotGridLinesStroke, setPlotGridLinesVisible, setPlotGridVerticalLinesVisible, setPlotMargin, setPlotTicksMarksVisible, setTimezone, setXAxisDecimalPattern, setXAxisLabelAlignment, setXAxisLabelAlignmentVertical, setXAxisLabelRotation, setXAxisLogarithmic, setXAxisLogarithmicDecadeOnly, setXAxisMax, setXAxisMaxLabelCount, setXAxisMin, setXAxisTickLabelsColor, setxAxisTickLabelsFormattingFunction, setXAxisTickMarksColor, setXAxisTickMarkSpacingHint, setXAxisTicksVisible, setXAxisTitleVisible, setYAxisDecimalPattern, setYAxisGroupTickLabelsColorMap, setYAxisGroupTickMarksColorMap, setYAxisLabelAlignment, setYAxisLogarithmic, setYAxisLogarithmicDecadeOnly, setYAxisMax, setYAxisMax, setYAxisMin, setYAxisMin, setYAxisTickLabelsColor, setyAxisTickLabelsFormattingFunction, setYAxisTickMarksColor, setYAxisTickMarkSpacingHint, setYAxisTicksVisible, setYAxisTitleVisibleMethods inherited from class Styler
getAnnotationLineColor, getAnnotationLineStroke, getAnnotationTextFont, getAnnotationTextFontColor, getAnnotationTextPanelBackgroundColor, getAnnotationTextPanelBorderColor, getAnnotationTextPanelFont, getAnnotationTextPanelFontColor, getAnnotationTextPanelPadding, getAntiAlias, getBaseFont, getChartBackgroundColor, getChartButtonBackgroundColor, getChartButtonBorderColor, getChartButtonFont, getChartButtonFontColor, getChartButtonMargin, getChartButtonPosition, getChartFontColor, getChartPadding, getChartTitleBoxBackgroundColor, getChartTitleBoxBorderColor, getChartTitleFont, getChartTitlePadding, getDecimalPattern, getLegendBackgroundColor, getLegendBorderColor, getLegendFont, getLegendLayout, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getMarkerSize, getPlotBackgroundColor, getPlotBorderColor, getPlotContentSize, getSeriesColors, getSeriesLines, getSeriesMarkers, getShowWithinAreaPoint, getTheme, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, getXAxisTitleColor, getYAxisGroupPosistion, getYAxisGroupTitleColor, getYAxisLeftWidthHint, getYAxisTitleColor, isChartTitleBoxVisible, isChartTitleVisible, isLegendVisible, isPlotBorderVisible, isToolTipsAlwaysVisible, isToolTipsEnabled, setAnnotationLineColor, setAnnotationLineStroke, setAnnotationTextFont, setAnnotationTextFontColor, setAnnotationTextPanelBackgroundColor, setAnnotationTextPanelBorderColor, setAnnotationTextPanelFont, setAnnotationTextPanelFontColor, setAnnotationTextPanelPadding, setAntiAlias, setBaseFont, setChartBackgroundColor, setChartButtonBackgroundColor, setChartButtonBorderColor, setChartButtonFont, setChartButtonFontColor, setChartButtonMargin, setChartButtonPosition, setChartFontColor, setChartPadding, setChartTitleBoxBackgroundColor, setChartTitleBoxBorderColor, setChartTitleBoxVisible, setChartTitleFont, setChartTitlePadding, setChartTitleVisible, setDecimalPattern, setLegendBackgroundColor, setLegendBorderColor, setLegendFont, setLegendLayout, setLegendPadding, setLegendSeriesLineLength, setLegendVisible, setMarkerSize, setPlotBackgroundColor, setPlotBorderColor, setPlotBorderVisible, setPlotContentSize, setSeriesColors, setSeriesLines, setSeriesMarkers, setShowWithinAreaPoint, setToolTipBackgroundColor, setToolTipBorderColor, setToolTipFont, setToolTipHighlightColor, setToolTipsAlwaysVisible, setToolTipsEnabled, setToolTipType, setXAxisTitleColor, setYAxisGroupPosition, setYAxisGroupTitleColor, setYAxisLeftWidthHint, setYAxisTitleColor
-
Field Details
-
isPiecewise
private boolean isPiecewise -
isPiecewiseRanged
private boolean isPiecewiseRanged -
splitNumber
private int splitNumber -
DEFAULT_RANGE_COLORS
default range colors, {'#00FFFF'} -
rangeColors
-
isDrawBorder
private boolean isDrawBorder -
showValue
private boolean showValue -
valueFont
-
valueFontColor
-
min
double min -
max
double max -
gradientColorColumnWeight
private int gradientColorColumnWeight -
gradientColorColumnHeight
private int gradientColorColumnHeight -
heatMapValueDecimalPattern
-
heatMapDecimalValueFormatter
-
-
Constructor Details
-
HeatMapStyler
public HeatMapStyler()
-
-
Method Details
-
setTheme
-
setAllStyles
public void setAllStyles()- Overrides:
setAllStylesin classAxesChartStyler
-
setLegendPosition
Description copied from class:Stylersets the legend position- Overrides:
setLegendPositionin classStyler- Parameters:
legendPosition-
-
isPiecewise
public boolean isPiecewise() -
setPiecewise
-
getSplitNumber
public int getSplitNumber() -
setSplitNumber
-
getRangeColors
-
setRangeColors
-
isDrawBorder
public boolean isDrawBorder() -
setDrawBorder
-
isShowValue
public boolean isShowValue() -
setShowValue
-
getValueFont
-
setValueFont
-
getValueFontColor
-
setValueFontColor
-
getMin
public double getMin() -
setMin
-
getMax
public double getMax() -
setMax
-
getGradientColorColumnWeight
public int getGradientColorColumnWeight() -
setGradientColorColumnWeight
-
getGradientColorColumnHeight
public int getGradientColorColumnHeight() -
setGradientColorColumnHeight
-
getHeatMapValueDecimalPattern
-
setHeatMapValueDecimalPattern
-
getHeatMapDecimalValueFormatter
-
setHeatMapDecimalValueFormatter
public HeatMapStyler setHeatMapDecimalValueFormatter(Function<Double, String> heatMapDecimalValueFormatter) -
isPiecewiseRanged
public boolean isPiecewiseRanged() -
setPiecewiseRanged
-