|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder
ar.com.fdvs.dj.domain.chart.builder.DJXYBarChartBuilder
public class DJXYBarChartBuilder
Field Summary |
---|
Fields inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder |
---|
chart |
Constructor Summary | |
---|---|
DJXYBarChartBuilder()
|
Method Summary | |
---|---|
DJXYBarChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset. |
DJXYBarChartBuilder |
addSerie(AbstractColumn column,
java.lang.String label)
Adds the specified serie column to the dataset with custom label. |
DJXYBarChartBuilder |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label. |
DJXYBarChartBuilder |
addSeriesColor(java.awt.Color color)
Adds the specified series color to the plot. |
protected byte |
getChartType()
|
protected XYDataset |
getDataset()
|
protected BarPlot |
getPlot()
|
DJXYBarChartBuilder |
setBackColor(java.awt.Color backColor)
Sets the background color. |
protected DJXYBarChartBuilder |
setCategory(PropertyColumn xValue)
Allows AbstractChartBuilder to set the key column |
DJXYBarChartBuilder |
setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
Sets the category axis format. |
DJXYBarChartBuilder |
setCentered(boolean centered)
Sets the centered. |
DJXYBarChartBuilder |
setCustomizerClass(java.lang.String customizerClass)
Sets a user specified chart customizer class name. |
DJXYBarChartBuilder |
setHeight(int height)
Sets the chart height. |
DJXYBarChartBuilder |
setLabelRotation(double labelRotation)
Sets the angle in degrees to rotate the data axis labels. |
DJXYBarChartBuilder |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
Sets the legend background color. |
DJXYBarChartBuilder |
setLegendColor(java.awt.Color legendColor)
Sets the legend color. |
DJXYBarChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font. |
DJXYBarChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT). |
DJXYBarChartBuilder |
setLineColor(java.awt.Color lineColor)
Sets the line color. |
DJXYBarChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE). |
DJXYBarChartBuilder |
setLineWidth(float lineWidth)
Sets the line width. |
DJXYBarChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink. |
DJXYBarChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM). |
DJXYBarChartBuilder |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL). |
DJXYBarChartBuilder |
setPadding(int padding)
Sets the padding. |
DJXYBarChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER). |
DJXYBarChartBuilder |
setSeriesColors(java.util.List seriesColors)
Set the specified series colors to the plot. |
DJXYBarChartBuilder |
setShowLabels(boolean showLabels)
Sets the labels visibility. |
DJXYBarChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility. |
DJXYBarChartBuilder |
setShowTickLabels(boolean showTickLabels)
Sets the tick labels visibility. |
DJXYBarChartBuilder |
setShowTickMarks(boolean showTickMarks)
Sets the tick marks visibility. |
DJXYBarChartBuilder |
setSubtitle(java.lang.String subtitle)
Sets the subtitle. |
DJXYBarChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression. |
DJXYBarChartBuilder |
setSubtitleColor(java.awt.Color subtitleColor)
Sets the subtitle color. |
DJXYBarChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font. |
DJXYBarChartBuilder |
setTheme(java.lang.String theme)
Sets the theme. |
DJXYBarChartBuilder |
setTitle(java.lang.String title)
Sets the title. |
DJXYBarChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression. |
DJXYBarChartBuilder |
setTitleColor(java.awt.Color titleColor)
Sets the title color. |
DJXYBarChartBuilder |
setTitleFont(Font titleFont)
Sets the title font. |
DJXYBarChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT). |
DJXYBarChartBuilder |
setValueAxisFormat(DJAxisFormat valueAxisFormat)
Sets the value axis format. |
DJXYBarChartBuilder |
setWidth(int width)
Sets the chart width. |
DJXYBarChartBuilder |
setX(int x)
Sets the x position. |
DJXYBarChartBuilder |
setXValue(PropertyColumn xValue)
Sets the x value column. |
DJXYBarChartBuilder |
setY(int y)
Sets the y position. |
Methods inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder |
---|
build, setChartOptions, setColumnGroup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DJXYBarChartBuilder()
Method Detail |
---|
public DJXYBarChartBuilder setOperation(byte operation)
setOperation
in class AbstractChartBuilder
operation
- the chart data operationpublic DJXYBarChartBuilder setLink(DJHyperLink link)
setLink
in class AbstractChartBuilder
link
- the hyperlinkpublic DJXYBarChartBuilder setBackColor(java.awt.Color backColor)
setBackColor
in class AbstractChartBuilder
backColor
- the background colorpublic DJXYBarChartBuilder setHeight(int height)
setHeight
in class AbstractChartBuilder
height
- the chart heightpublic DJXYBarChartBuilder setWidth(int width)
setWidth
in class AbstractChartBuilder
width
- the chart widthpublic DJXYBarChartBuilder setCentered(boolean centered)
setCentered
in class AbstractChartBuilder
centered
- the centeredpublic DJXYBarChartBuilder setPosition(byte position)
setPosition
in class AbstractChartBuilder
position
- the positionpublic DJXYBarChartBuilder setY(int y)
setY
in class AbstractChartBuilder
y
- the y positionpublic DJXYBarChartBuilder setX(int x)
setX
in class AbstractChartBuilder
y
- the x positionpublic DJXYBarChartBuilder setShowLegend(boolean showLegend)
setShowLegend
in class AbstractChartBuilder
showLegend
- the legend visibilitypublic DJXYBarChartBuilder setTitleColor(java.awt.Color titleColor)
setTitleColor
in class AbstractChartBuilder
titleColor
- the title colorpublic DJXYBarChartBuilder setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor
in class AbstractChartBuilder
subtitleColor
- the subtitle colorpublic DJXYBarChartBuilder setLegendColor(java.awt.Color legendColor)
setLegendColor
in class AbstractChartBuilder
legendColor
- the legend colorpublic DJXYBarChartBuilder setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
setLegendBackgroundColor
in class AbstractChartBuilder
legendBackgroundColor
- the legend background colorpublic DJXYBarChartBuilder setTheme(java.lang.String theme)
setTheme
in class AbstractChartBuilder
theme
- the themepublic DJXYBarChartBuilder setTitleFont(Font titleFont)
setTitleFont
in class AbstractChartBuilder
titleFont
- the title fontpublic DJXYBarChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont
in class AbstractChartBuilder
subtitleFont
- the subtitle fontpublic DJXYBarChartBuilder setLegendFont(Font legendFont)
setLegendFont
in class AbstractChartBuilder
legendFont
- the legend fontpublic DJXYBarChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition
in class AbstractChartBuilder
legendPosition
- the legend positionpublic DJXYBarChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition
in class AbstractChartBuilder
titlePosition
- the title positionpublic DJXYBarChartBuilder setTitle(java.lang.String title)
setTitle
in class AbstractChartBuilder
title
- the titlepublic DJXYBarChartBuilder setTitle(StringExpression titleExpression)
setTitle
in class AbstractChartBuilder
titleExpression
- the title expressionpublic DJXYBarChartBuilder setSubtitle(java.lang.String subtitle)
setSubtitle
in class AbstractChartBuilder
subtitle
- the subtitlepublic DJXYBarChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle
in class AbstractChartBuilder
subtitleExpression
- the subtitle expressionpublic DJXYBarChartBuilder setLineStyle(byte lineStyle)
setLineStyle
in class AbstractChartBuilder
lineStyle
- one of the line style constants in DJChartOptions classpublic DJXYBarChartBuilder setLineWidth(float lineWidth)
setLineWidth
in class AbstractChartBuilder
lineWidth
- the line widthpublic DJXYBarChartBuilder setLineColor(java.awt.Color lineColor)
setLineColor
in class AbstractChartBuilder
lineColor
- the line colorpublic DJXYBarChartBuilder setPadding(int padding)
setPadding
in class AbstractChartBuilder
padding
- the paddingpublic DJXYBarChartBuilder setCustomizerClass(java.lang.String customizerClass)
setCustomizerClass
in class AbstractChartBuilder
JRChartCustomizer
protected DJXYBarChartBuilder setCategory(PropertyColumn xValue)
setCategory
in class AbstractChartBuilder
public DJXYBarChartBuilder setXValue(PropertyColumn xValue)
xValue
- the x value columnpublic DJXYBarChartBuilder addSerie(AbstractColumn column)
addSerie
in class AbstractChartBuilder
column
- the serie columnpublic DJXYBarChartBuilder addSerie(AbstractColumn column, java.lang.String label)
column
- the serie columnlabel
- column the custom labelpublic DJXYBarChartBuilder addSerie(AbstractColumn column, StringExpression labelExpression)
column
- the serie columnlabel
- column the custom labelpublic DJXYBarChartBuilder setLabelRotation(double labelRotation)
labelRotation
- the label rotationpublic DJXYBarChartBuilder setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation
- the plot orientationpublic DJXYBarChartBuilder addSeriesColor(java.awt.Color color)
addSeriesColor
in class AbstractChartBuilder
color
- the series colorpublic DJXYBarChartBuilder setSeriesColors(java.util.List seriesColors)
setSeriesColors
in class AbstractChartBuilder
seriesColors
- the series colorspublic DJXYBarChartBuilder setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
categoryAxisFormat
- the category axis formatpublic DJXYBarChartBuilder setValueAxisFormat(DJAxisFormat valueAxisFormat)
valueAxisFormat
- the value axis formatpublic DJXYBarChartBuilder setShowLabels(boolean showLabels)
showLabels
- the labels visibilitypublic DJXYBarChartBuilder setShowTickLabels(boolean showTickLabels)
showTickLabels
- the tick labels visibilitypublic DJXYBarChartBuilder setShowTickMarks(boolean showTickMarks)
showTickMarks
- the tick marks visibilityprotected XYDataset getDataset()
getDataset
in class AbstractChartBuilder
protected BarPlot getPlot()
getPlot
in class AbstractChartBuilder
protected byte getChartType()
getChartType
in class AbstractChartBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |