Java org.jfree.chart.renderer.category BarRenderer fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.renderer.category BarRenderer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.renderer.category BarRenderer.

The text is from its open source code.

Subclass

org.jfree.chart.renderer.category.BarRenderer has subclasses.
Click this link to see all its subclasses.

Field

doubleBAR_OUTLINE_WIDTH_THRESHOLD
Constant that controls the minimum width before a bar has an outline drawn.

Constructor

BarRenderer()
Creates a new bar renderer with default settings.

Method

RangefindRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.
BarPaintergetBarPainter()
Returns the bar painter.
FontgetBaseItemLabelFont()
Returns the base item label font (this is used when no other font setting is available).
CategoryItemLabelGeneratorgetBaseItemLabelGenerator()
Returns the base item label generator.
PaintgetBaseItemLabelPaint()
Returns the base item label paint.
BooleangetBaseItemLabelsVisible()
Returns the base setting for item label visibility.
GradientPaintTransformergetGradientPaintTransformer()
Returns the gradient paint transformer (an object used to transform gradient paint objects to fit each bar).
doublegetItemMargin()
Returns the item margin as a percentage of the available space for all bars.
PaintgetItemOutlinePaint(int row, int column)
Returns the paint used to outline data items as they are drawn.
StrokegetItemOutlineStroke(int row, int column)
Returns the stroke used to outline data items.
PaintgetItemPaint(int row, int column)
Returns the paint used to color data items as they are drawn.
PaintgetSeriesOutlinePaint(int series)
Returns the paint used to outline an item drawn by the renderer.
PaintgetSeriesPaint(int series)
Returns the paint used to color an item drawn by the renderer.
booleangetShadowsVisible()
Returns the flag that controls whether or not shadows are drawn for the bars.
booleanisDrawBarOutline()
Returns a flag that controls whether or not bar outlines are drawn.
voidsetAutoPopulateSeriesFillPaint(boolean auto)
Sets the flag that controls whether or not the series fill paint list is automatically populated when #lookupSeriesFillPaint(int) is called.
voidsetAutoPopulateSeriesPaint(boolean auto)
Sets the flag that controls whether or not the series paint list is automatically populated when #lookupSeriesPaint(int) is called.
voidsetBarPainter(BarPainter painter)
Sets the bar painter for this renderer and sends a RendererChangeEvent to all registered listeners.
voidsetBase(double base)
Sets the base value for the bars and sends a RendererChangeEvent to all registered listeners.
voidsetBaseFillPaint(Paint paint)
Sets the base fill paint and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelFont(Font font)
Sets the base item label font and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelGenerator(CategoryItemLabelGenerator generator)
Sets the base item label generator and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelPaint(Paint paint)
Sets the base item label paint and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemLabelsVisible(boolean visible)
Sets the base flag that controls whether or not item labels are visible, and sends a RendererChangeEvent to all registered listeners.
voidsetBaseItemURLGenerator(CategoryURLGenerator generator)
Sets the base item URL generator and sends a RendererChangeEvent to all registered listeners.
voidsetBaseNegativeItemLabelPosition(ItemLabelPosition position)
Sets the base item label position for negative values and sends a RendererChangeEvent to all registered listeners.
voidsetBaseOutlinePaint(Paint paint)
Sets the base outline paint and sends a RendererChangeEvent to all registered listeners.
voidsetBaseOutlineStroke(Stroke stroke)
Sets the base outline stroke and sends a RendererChangeEvent to all registered listeners.
voidsetBasePaint(Paint paint)
Sets the base paint and sends a RendererChangeEvent to all registered listeners.
voidsetBasePositiveItemLabelPosition(ItemLabelPosition position)
Sets the base positive item label position.
voidsetBaseSeriesVisible(boolean visible)
Sets the base visibility and sends a RendererChangeEvent to all registered listeners.
voidsetBaseToolTipGenerator(CategoryToolTipGenerator generator)
Sets the base tool tip generator and sends a RendererChangeEvent to all registered listeners.
voidsetDefaultBarPainter(BarPainter painter)
Sets the default bar painter.
voidsetDefaultShadowsVisible(boolean visible)
Sets the default value for the shadows visible flag.
voidsetDrawBarOutline(boolean draw)
Sets the flag that controls whether or not bar outlines are drawn and sends a RendererChangeEvent to all registered listeners.
voidsetGradientPaintTransformer(GradientPaintTransformer transformer)
Sets the gradient paint transformer and sends a RendererChangeEvent to all registered listeners.
voidsetIncludeBaseInRange(boolean include)
Sets the flag that controls whether or not the base value for the bars is included in the range calculated by #findRangeBounds(CategoryDataset) .
voidsetItemLabelAnchorOffset(double offset)
Sets the item label anchor offset.
voidsetItemLabelFont(Font font)
Sets the item label font for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelGenerator(CategoryItemLabelGenerator generator)
Sets the item label generator for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelPaint(Paint paint)
Sets the item label paint for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetItemLabelsVisible(boolean visible)
Sets the visibility of the item labels for ALL series.
voidsetItemMargin(double percent)
Sets the item margin and sends a RendererChangeEvent to all registered listeners.
voidsetItemURLGenerator(CategoryURLGenerator generator)
Sets the item URL generator for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetLegendItemLabelGenerator(CategorySeriesLabelGenerator generator)
Sets the legend item label generator and sends a RendererChangeEvent to all registered listeners.
voidsetLegendItemToolTipGenerator(CategorySeriesLabelGenerator generator)
Sets the legend item tool tip generator and sends a RendererChangeEvent to all registered listeners.
voidsetMaximumBarWidth(double percent)
Sets the maximum bar width, which is specified as a percentage of the available space for all bars, and sends a RendererChangeEvent to all registered listeners.
voidsetMinimumBarLength(double min)
Sets the minimum bar length and sends a RendererChangeEvent to all registered listeners.
voidsetNegativeItemLabelPosition(ItemLabelPosition position)
Sets the item label position for negative values in ALL series, and sends a RendererChangeEvent to all registered listeners.
voidsetNegativeItemLabelPositionFallback(ItemLabelPosition position)
Sets the fallback position for negative item labels that don't fit within a bar, and sends a RendererChangeEvent to all registered listeners.
voidsetOutlinePaint(Paint paint)
Sets the outline paint for ALL series (optional) and sends a RendererChangeEvent to all registered listeners.
voidsetOutlineStroke(Stroke stroke)
Sets the outline stroke for ALL series and sends a RendererChangeEvent to all registered listeners.
voidsetPositiveItemLabelPosition(ItemLabelPosition position)
Sets the item label position for positive values in ALL series, and sends a RendererChangeEvent to all registered listeners.
voidsetPositiveItemLabelPositionFallback(ItemLabelPosition position)
Sets the fallback position for positive item labels that don't fit within a bar, and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesFillPaint(int series, Paint paint)
Sets the paint used for a series fill and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelFont(int series, Font font)
Sets the item label font for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelFont(int series, Font font, boolean notify)
Sets the item label font for a series and, if requested, sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelGenerator(int series, CategoryItemLabelGenerator generator)
Sets the item label generator for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelPaint(int series, Paint paint)
Sets the item label paint for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelsVisible(int series, boolean visible)
Sets a flag that controls the visibility of the item labels for a series, and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesItemLabelsVisible(int series, Boolean visible, boolean notify)
Sets the visibility of item labels for a series and, if requested, sends a RendererChangeEvent to all registered listeners.
voidsetSeriesNegativeItemLabelPosition(int series, ItemLabelPosition position)
Sets the item label position for negative values in a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesOutlinePaint(int series, Paint paint)
Sets the paint used for a series outline and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesOutlinePaint(int series, Paint paint, boolean notify)
Sets the paint used to draw the outline for a series and, if requested, sends a RendererChangeEvent to all registered listeners.
voidsetSeriesOutlineStroke(int series, Stroke stroke, boolean notify)
Sets the outline stroke for a series and, if requested, sends a RendererChangeEvent to all registered listeners.
voidsetSeriesOutlineStroke(int series, Stroke stroke)
Sets the outline stroke used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesPaint(int series, Paint paint)
Sets the paint used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesPositiveItemLabelPosition(int series, ItemLabelPosition position)
Sets the item label position for all positive values in a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesStroke(int series, Stroke stroke)
Sets the stroke used for a series and sends a RendererChangeEvent to all registered listeners.
voidsetSeriesToolTipGenerator(int series, CategoryToolTipGenerator generator)
Sets the tool tip generator for a series and sends a RendererChangeEvent to all registered listeners.
voidsetShadowPaint(Paint paint)
Sets the shadow paint and sends a RendererChangeEvent to all registered listeners.
voidsetShadowVisible(boolean visible)
Sets the flag that controls whether or not shadows are drawn by the renderer.
voidsetShadowXOffset(double offset)
Sets the x-offset for the bar shadow and sends a RendererChangeEvent to all registered listeners.
voidsetShadowYOffset(double offset)
Sets the y-offset for the bar shadow and sends a RendererChangeEvent to all registered listeners.
voidsetToolTipGenerator(CategoryToolTipGenerator generator)
Sets the tool tip generator for ALL series and sends a org.jfree.chart.event.RendererChangeEvent to all registered listeners.