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