public class DJBar3DChartBuilder extends AbstractChartBuilder
chart
Constructor and Description |
---|
DJBar3DChartBuilder() |
Modifier and Type | Method and Description |
---|---|
DJBar3DChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.
|
DJBar3DChartBuilder |
addSerie(AbstractColumn column,
String label)
Adds the specified serie column to the dataset with custom label.
|
DJBar3DChartBuilder |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label.
|
DJBar3DChartBuilder |
addSeriesColor(Color color)
Adds the specified series color to the plot.
|
protected byte |
getChartType() |
protected CategoryDataset |
getDataset() |
protected Bar3DPlot |
getPlot() |
DJBar3DChartBuilder |
setBackColor(Color backColor)
Sets the background color.
|
DJBar3DChartBuilder |
setCategory(PropertyColumn category)
Sets the category column.
|
DJBar3DChartBuilder |
setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
Sets the category axis format.
|
DJBar3DChartBuilder |
setCentered(boolean centered)
Sets the centered.
|
DJBar3DChartBuilder |
setCustomizerClass(String customizerClass)
Sets a user specified chart customizer class name.
|
DJBar3DChartBuilder |
setHeight(int height)
Sets the chart height.
|
DJBar3DChartBuilder |
setLabelRotation(double labelRotation)
Sets the angle in degrees to rotate the data axis labels.
|
DJBar3DChartBuilder |
setLegendBackgroundColor(Color legendBackgroundColor)
Sets the legend background color.
|
DJBar3DChartBuilder |
setLegendColor(Color legendColor)
Sets the legend color.
|
DJBar3DChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font.
|
DJBar3DChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJBar3DChartBuilder |
setLineColor(Color lineColor)
Sets the line color.
|
DJBar3DChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE).
|
DJBar3DChartBuilder |
setLineWidth(float lineWidth)
Sets the line width.
|
DJBar3DChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink.
|
DJBar3DChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
|
DJBar3DChartBuilder |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL).
|
DJBar3DChartBuilder |
setPadding(int padding)
Sets the padding.
|
DJBar3DChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER).
|
DJBar3DChartBuilder |
setSeriesColors(List seriesColors)
Set the specified series colors to the plot.
|
DJBar3DChartBuilder |
setShowLabels(boolean showLabels)
Sets the labels visibility.
|
DJBar3DChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility.
|
DJBar3DChartBuilder |
setSubtitle(String subtitle)
Sets the subtitle.
|
DJBar3DChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression.
|
DJBar3DChartBuilder |
setSubtitleColor(Color subtitleColor)
Sets the subtitle color.
|
DJBar3DChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font.
|
DJBar3DChartBuilder |
setTheme(String theme)
Sets the theme.
|
DJBar3DChartBuilder |
setTitle(String title)
Sets the title.
|
DJBar3DChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression.
|
DJBar3DChartBuilder |
setTitleColor(Color titleColor)
Sets the title color.
|
DJBar3DChartBuilder |
setTitleFont(Font titleFont)
Sets the title font.
|
DJBar3DChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJBar3DChartBuilder |
setUseSeriesAsCategory(boolean useSeriesAsCategory) |
DJBar3DChartBuilder |
setValueAxisFormat(DJAxisFormat valueAxisFormat)
Sets the value axis format.
|
DJBar3DChartBuilder |
setWidth(int width)
Sets the chart width.
|
DJBar3DChartBuilder |
setX(int x)
Sets the x position.
|
DJBar3DChartBuilder |
setXOffset(double xOffset)
Sets the x offset.
|
DJBar3DChartBuilder |
setY(int y)
Sets the y position.
|
DJBar3DChartBuilder |
setyOffset(double yOffset)
Sets the y offset.
|
build, setChartOptions, setColumnGroup
public DJBar3DChartBuilder setOperation(byte operation)
setOperation
in class AbstractChartBuilder
operation
- the chart data operationpublic DJBar3DChartBuilder setLink(DJHyperLink link)
setLink
in class AbstractChartBuilder
link
- the hyperlinkpublic DJBar3DChartBuilder setBackColor(Color backColor)
setBackColor
in class AbstractChartBuilder
backColor
- the background colorpublic DJBar3DChartBuilder setHeight(int height)
setHeight
in class AbstractChartBuilder
height
- the chart heightpublic DJBar3DChartBuilder setWidth(int width)
setWidth
in class AbstractChartBuilder
width
- the chart widthpublic DJBar3DChartBuilder setCentered(boolean centered)
setCentered
in class AbstractChartBuilder
centered
- the centeredpublic DJBar3DChartBuilder setPosition(byte position)
setPosition
in class AbstractChartBuilder
position
- the positionpublic DJBar3DChartBuilder setY(int y)
setY
in class AbstractChartBuilder
y
- the y positionpublic DJBar3DChartBuilder setX(int x)
setX
in class AbstractChartBuilder
y
- the x positionpublic DJBar3DChartBuilder setShowLegend(boolean showLegend)
setShowLegend
in class AbstractChartBuilder
showLegend
- the legend visibilitypublic DJBar3DChartBuilder setTitleColor(Color titleColor)
setTitleColor
in class AbstractChartBuilder
titleColor
- the title colorpublic DJBar3DChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor
in class AbstractChartBuilder
subtitleColor
- the subtitle colorpublic DJBar3DChartBuilder setLegendColor(Color legendColor)
setLegendColor
in class AbstractChartBuilder
legendColor
- the legend colorpublic DJBar3DChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor
in class AbstractChartBuilder
legendBackgroundColor
- the legend background colorpublic DJBar3DChartBuilder setTheme(String theme)
setTheme
in class AbstractChartBuilder
theme
- the themepublic DJBar3DChartBuilder setTitleFont(Font titleFont)
setTitleFont
in class AbstractChartBuilder
titleFont
- the title fontpublic DJBar3DChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont
in class AbstractChartBuilder
subtitleFont
- the subtitle fontpublic DJBar3DChartBuilder setLegendFont(Font legendFont)
setLegendFont
in class AbstractChartBuilder
legendFont
- the legend fontpublic DJBar3DChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition
in class AbstractChartBuilder
legendPosition
- the legend positionpublic DJBar3DChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition
in class AbstractChartBuilder
titlePosition
- the title positionpublic DJBar3DChartBuilder setTitle(String title)
setTitle
in class AbstractChartBuilder
title
- the titlepublic DJBar3DChartBuilder setTitle(StringExpression titleExpression)
setTitle
in class AbstractChartBuilder
titleExpression
- the title expressionpublic DJBar3DChartBuilder setSubtitle(String subtitle)
setSubtitle
in class AbstractChartBuilder
subtitle
- the subtitlepublic DJBar3DChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle
in class AbstractChartBuilder
subtitleExpression
- the subtitle expressionpublic DJBar3DChartBuilder setLineStyle(byte lineStyle)
setLineStyle
in class AbstractChartBuilder
lineStyle
- one of the line style constants in DJChartOptions classpublic DJBar3DChartBuilder setLineWidth(float lineWidth)
setLineWidth
in class AbstractChartBuilder
lineWidth
- the line widthpublic DJBar3DChartBuilder setLineColor(Color lineColor)
setLineColor
in class AbstractChartBuilder
lineColor
- the line colorpublic DJBar3DChartBuilder setPadding(int padding)
setPadding
in class AbstractChartBuilder
padding
- the paddingpublic DJBar3DChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass
in class AbstractChartBuilder
JRChartCustomizer
public DJBar3DChartBuilder setCategory(PropertyColumn category)
setCategory
in class AbstractChartBuilder
category
- the category columnpublic DJBar3DChartBuilder addSerie(AbstractColumn column)
addSerie
in class AbstractChartBuilder
column
- the serie columnpublic DJBar3DChartBuilder addSerie(AbstractColumn column, String label)
column
- the serie columnlabel
- column the custom labelpublic DJBar3DChartBuilder addSerie(AbstractColumn column, StringExpression labelExpression)
column
- the serie columnlabel
- column the custom labelpublic DJBar3DChartBuilder setUseSeriesAsCategory(boolean useSeriesAsCategory)
public DJBar3DChartBuilder setLabelRotation(double labelRotation)
labelRotation
- the label rotationpublic DJBar3DChartBuilder setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation
- the plot orientationpublic DJBar3DChartBuilder addSeriesColor(Color color)
addSeriesColor
in class AbstractChartBuilder
color
- the series colorpublic DJBar3DChartBuilder setSeriesColors(List seriesColors)
setSeriesColors
in class AbstractChartBuilder
seriesColors
- the series colorspublic DJBar3DChartBuilder setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
categoryAxisFormat
- the category axis formatpublic DJBar3DChartBuilder setValueAxisFormat(DJAxisFormat valueAxisFormat)
valueAxisFormat
- the value axis formatpublic DJBar3DChartBuilder setXOffset(double xOffset)
xOffset
- the x offsetpublic DJBar3DChartBuilder setyOffset(double yOffset)
yOffset
- the y offsetpublic DJBar3DChartBuilder setShowLabels(boolean showLabels)
showLabels
- the labels visibilityprotected CategoryDataset getDataset()
getDataset
in class AbstractChartBuilder
protected Bar3DPlot getPlot()
getPlot
in class AbstractChartBuilder
protected byte getChartType()
getChartType
in class AbstractChartBuilder
Copyright © 2006–2015 FDV Solutions. All rights reserved.