Class PlotContent_Category_Bar<ST extends CategoryStyler, S extends CategorySeries>
java.lang.Object
org.knowm.xchart.internal.chartpart.PlotContent_<ST,S>
org.knowm.xchart.internal.chartpart.PlotContent_Category_Bar<ST,S>
- All Implemented Interfaces:
ChartPart
public class PlotContent_Category_Bar<ST extends CategoryStyler, S extends CategorySeries>
extends PlotContent_<ST,S>
-
Field Summary
FieldsFields inherited from class PlotContent_
chart, chartZoom, ERROR_BAR_STROKE, toolTipsFields inherited from interface ChartPart
SOLID_STROKE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voiddrawLabels(Graphics2D g, Number next, double xOffset, double yOffset, double zeroOffset, double barWidth, boolean showStackSum, boolean isTotalAnnotations, Color seriesColor) private voiddrawStepBar(Graphics2D g, S series, ArrayList<Point2D.Double> path, ArrayList<Point2D.Double> returnPath) private voiddrawStepBarFill(Graphics2D g, S series, Path2D.Double path) private voiddrawStepBarLine(Graphics2D g, S series, Path2D.Double path) Methods inherited from class PlotContent_
closePath, getBounds, paint, setChartZoom, setToolTips
-
Field Details
-
stylerCategory
-
-
Constructor Details
-
PlotContent_Category_Bar
-
-
Method Details
-
doPaint
- Specified by:
doPaintin classPlotContent_<ST extends CategoryStyler, S extends CategorySeries>
-
drawStepBarLine
-
drawStepBarFill
-
drawStepBar
private void drawStepBar(Graphics2D g, S series, ArrayList<Point2D.Double> path, ArrayList<Point2D.Double> returnPath) -
drawLabels
private void drawLabels(Graphics2D g, Number next, double xOffset, double yOffset, double zeroOffset, double barWidth, boolean showStackSum, boolean isTotalAnnotations, Color seriesColor)
-