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