Class TracePainterVerticalBar

java.lang.Object
info.monitorenter.gui.chart.traces.painters.ATracePainter
info.monitorenter.gui.chart.traces.painters.TracePainterVerticalBar
All Implemented Interfaces:
IPointPainter<ATracePainter>, ITracePainter<ATracePainter>, Serializable, Comparable<ATracePainter>

public class TracePainterVerticalBar extends ATracePainter
Renders traces by painting a bar with choosable width for each TracePoint2D to show.

Bars are placed around the x value to render: the middle of the bar in x dimension is the exact x value.

Version:
$Revision: 1.19 $
Author:
Achim Westermann
See Also:
  • Constructor Details

    • TracePainterVerticalBar

      public TracePainterVerticalBar(Chart2D chart)
      Creates an instance with a default bar width size of 4.

      Parameters:
      chart - needed for bound information.
    • TracePainterVerticalBar

      public TracePainterVerticalBar(int barWidth, Chart2D chart)
      Creates an instance with the bar width.
      Parameters:
      barWidth - the bar width in pixel to use.
      chart - needed for bound information.
  • Method Details