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