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