Class Legend_HeatMap<ST extends HeatMapStyler, S extends HeatMapSeries>
java.lang.Object
org.knowm.xchart.internal.chartpart.Legend_<ST,S>
org.knowm.xchart.internal.chartpart.Legend_HeatMap<ST,S>
- All Implemented Interfaces:
ChartPart
public class Legend_HeatMap<ST extends HeatMapStyler, S extends HeatMapSeries>
extends Legend_<ST,S>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Formatprivate static final intprivate static final StringFields inherited from interface ChartPart
SOLID_STROKE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoiddoublegetSeriesLegendRenderGraphicHeight(S series) voidpaint(Graphics2D g) private voidpaintGradient(Graphics2D g, double startx, double starty, Color[] rangeColors, HeatMapSeries heatMapSeries) private voidpaintPiecewise(Graphics2D g, double startx, double starty, Color[] rangeColors, HeatMapSeries heatMapSeries) Methods inherited from class Legend_
getLegendEntryHeight, getLegendEntryWidth, getSeriesTextBounds, paintSeriesText
-
Field Details
-
LEGEND_MARGIN
private static final int LEGEND_MARGIN- See Also:
-
SPLIT
- See Also:
-
format
-
-
Constructor Details
-
Legend_HeatMap
-
-
Method Details
-
paint
- Specified by:
paintin interfaceChartPart- Overrides:
paintin classLegend_<ST extends HeatMapStyler, S extends HeatMapSeries>
-
doPaint
- Specified by:
doPaintin classLegend_<ST extends HeatMapStyler, S extends HeatMapSeries>
-
getSeriesLegendRenderGraphicHeight
- Specified by:
getSeriesLegendRenderGraphicHeightin classLegend_<ST extends HeatMapStyler, S extends HeatMapSeries>
-
getBounds
- Specified by:
getBoundsin interfaceChartPart- Overrides:
getBoundsin classLegend_<ST extends HeatMapStyler, S extends HeatMapSeries>
-
paintPiecewise
private void paintPiecewise(Graphics2D g, double startx, double starty, Color[] rangeColors, HeatMapSeries heatMapSeries) -
paintGradient
private void paintGradient(Graphics2D g, double startx, double starty, Color[] rangeColors, HeatMapSeries heatMapSeries) -
applyFormatting
private void applyFormatting()
-