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