public class DJXYAreaChartBuilder extends AbstractChartBuilder
chart
Constructor and Description |
---|
DJXYAreaChartBuilder() |
Modifier and Type | Method and Description |
---|---|
DJXYAreaChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.
|
DJXYAreaChartBuilder |
addSerie(AbstractColumn column,
String label)
Adds the specified serie column to the dataset with custom label.
|
DJXYAreaChartBuilder |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label.
|
DJXYAreaChartBuilder |
addSeriesColor(Color color)
Adds the specified series color to the plot.
|
protected byte |
getChartType() |
protected XYDataset |
getDataset() |
protected AreaPlot |
getPlot() |
DJXYAreaChartBuilder |
setBackColor(Color backColor)
Sets the background color.
|
protected DJXYAreaChartBuilder |
setCategory(PropertyColumn xValue)
Allows AbstractChartBuilder to set the key column
|
DJXYAreaChartBuilder |
setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
Sets the category axis format.
|
DJXYAreaChartBuilder |
setCentered(boolean centered)
Sets the centered.
|
DJXYAreaChartBuilder |
setCustomizerClass(String customizerClass)
Sets a user specified chart customizer class name.
|
DJXYAreaChartBuilder |
setHeight(int height)
Sets the chart height.
|
DJXYAreaChartBuilder |
setLabelRotation(double labelRotation)
Sets the angle in degrees to rotate the data axis labels.
|
DJXYAreaChartBuilder |
setLegendBackgroundColor(Color legendBackgroundColor)
Sets the legend background color.
|
DJXYAreaChartBuilder |
setLegendColor(Color legendColor)
Sets the legend color.
|
DJXYAreaChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font.
|
DJXYAreaChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJXYAreaChartBuilder |
setLineColor(Color lineColor)
Sets the line color.
|
DJXYAreaChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE).
|
DJXYAreaChartBuilder |
setLineWidth(float lineWidth)
Sets the line width.
|
DJXYAreaChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink.
|
DJXYAreaChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
|
DJXYAreaChartBuilder |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL).
|
DJXYAreaChartBuilder |
setPadding(int padding)
Sets the padding.
|
DJXYAreaChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER).
|
DJXYAreaChartBuilder |
setSeriesColors(List seriesColors)
Set the specified series colors to the plot.
|
DJXYAreaChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility.
|
DJXYAreaChartBuilder |
setSubtitle(String subtitle)
Sets the subtitle.
|
DJXYAreaChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression.
|
DJXYAreaChartBuilder |
setSubtitleColor(Color subtitleColor)
Sets the subtitle color.
|
DJXYAreaChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font.
|
DJXYAreaChartBuilder |
setTheme(String theme)
Sets the theme.
|
DJXYAreaChartBuilder |
setTitle(String title)
Sets the title.
|
DJXYAreaChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression.
|
DJXYAreaChartBuilder |
setTitleColor(Color titleColor)
Sets the title color.
|
DJXYAreaChartBuilder |
setTitleFont(Font titleFont)
Sets the title font.
|
DJXYAreaChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJXYAreaChartBuilder |
setValueAxisFormat(DJAxisFormat valueAxisFormat)
Sets the value axis format.
|
DJXYAreaChartBuilder |
setWidth(int width)
Sets the chart width.
|
DJXYAreaChartBuilder |
setX(int x)
Sets the x position.
|
DJXYAreaChartBuilder |
setXValue(PropertyColumn xValue)
Sets the x value column.
|
DJXYAreaChartBuilder |
setY(int y)
Sets the y position.
|
build, setChartOptions, setColumnGroup
public DJXYAreaChartBuilder setOperation(byte operation)
setOperation
in class AbstractChartBuilder
operation
- the chart data operationpublic DJXYAreaChartBuilder setLink(DJHyperLink link)
setLink
in class AbstractChartBuilder
link
- the hyperlinkpublic DJXYAreaChartBuilder setBackColor(Color backColor)
setBackColor
in class AbstractChartBuilder
backColor
- the background colorpublic DJXYAreaChartBuilder setHeight(int height)
setHeight
in class AbstractChartBuilder
height
- the chart heightpublic DJXYAreaChartBuilder setWidth(int width)
setWidth
in class AbstractChartBuilder
width
- the chart widthpublic DJXYAreaChartBuilder setCentered(boolean centered)
setCentered
in class AbstractChartBuilder
centered
- the centeredpublic DJXYAreaChartBuilder setPosition(byte position)
setPosition
in class AbstractChartBuilder
position
- the positionpublic DJXYAreaChartBuilder setY(int y)
setY
in class AbstractChartBuilder
y
- the y positionpublic DJXYAreaChartBuilder setX(int x)
setX
in class AbstractChartBuilder
y
- the x positionpublic DJXYAreaChartBuilder setShowLegend(boolean showLegend)
setShowLegend
in class AbstractChartBuilder
showLegend
- the legend visibilitypublic DJXYAreaChartBuilder setTitleColor(Color titleColor)
setTitleColor
in class AbstractChartBuilder
titleColor
- the title colorpublic DJXYAreaChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor
in class AbstractChartBuilder
subtitleColor
- the subtitle colorpublic DJXYAreaChartBuilder setLegendColor(Color legendColor)
setLegendColor
in class AbstractChartBuilder
legendColor
- the legend colorpublic DJXYAreaChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor
in class AbstractChartBuilder
legendBackgroundColor
- the legend background colorpublic DJXYAreaChartBuilder setTheme(String theme)
setTheme
in class AbstractChartBuilder
theme
- the themepublic DJXYAreaChartBuilder setTitleFont(Font titleFont)
setTitleFont
in class AbstractChartBuilder
titleFont
- the title fontpublic DJXYAreaChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont
in class AbstractChartBuilder
subtitleFont
- the subtitle fontpublic DJXYAreaChartBuilder setLegendFont(Font legendFont)
setLegendFont
in class AbstractChartBuilder
legendFont
- the legend fontpublic DJXYAreaChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition
in class AbstractChartBuilder
legendPosition
- the legend positionpublic DJXYAreaChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition
in class AbstractChartBuilder
titlePosition
- the title positionpublic DJXYAreaChartBuilder setTitle(String title)
setTitle
in class AbstractChartBuilder
title
- the titlepublic DJXYAreaChartBuilder setTitle(StringExpression titleExpression)
setTitle
in class AbstractChartBuilder
titleExpression
- the title expressionpublic DJXYAreaChartBuilder setSubtitle(String subtitle)
setSubtitle
in class AbstractChartBuilder
subtitle
- the subtitlepublic DJXYAreaChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle
in class AbstractChartBuilder
subtitleExpression
- the subtitle expressionpublic DJXYAreaChartBuilder setLineStyle(byte lineStyle)
setLineStyle
in class AbstractChartBuilder
lineStyle
- one of the line style constants in DJChartOptions classpublic DJXYAreaChartBuilder setLineWidth(float lineWidth)
setLineWidth
in class AbstractChartBuilder
lineWidth
- the line widthpublic DJXYAreaChartBuilder setLineColor(Color lineColor)
setLineColor
in class AbstractChartBuilder
lineColor
- the line colorpublic DJXYAreaChartBuilder setPadding(int padding)
setPadding
in class AbstractChartBuilder
padding
- the paddingpublic DJXYAreaChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass
in class AbstractChartBuilder
JRChartCustomizer
protected DJXYAreaChartBuilder setCategory(PropertyColumn xValue)
setCategory
in class AbstractChartBuilder
public DJXYAreaChartBuilder setXValue(PropertyColumn xValue)
xValue
- the x value columnpublic DJXYAreaChartBuilder addSerie(AbstractColumn column)
addSerie
in class AbstractChartBuilder
column
- the serie columnpublic DJXYAreaChartBuilder addSerie(AbstractColumn column, String label)
column
- the serie columnlabel
- column the custom labelpublic DJXYAreaChartBuilder addSerie(AbstractColumn column, StringExpression labelExpression)
column
- the serie columnlabel
- column the custom labelpublic DJXYAreaChartBuilder setLabelRotation(double labelRotation)
labelRotation
- the label rotationpublic DJXYAreaChartBuilder setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation
- the plot orientationpublic DJXYAreaChartBuilder addSeriesColor(Color color)
addSeriesColor
in class AbstractChartBuilder
color
- the series colorpublic DJXYAreaChartBuilder setSeriesColors(List seriesColors)
setSeriesColors
in class AbstractChartBuilder
seriesColors
- the series colorspublic DJXYAreaChartBuilder setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
categoryAxisFormat
- the category axis formatpublic DJXYAreaChartBuilder setValueAxisFormat(DJAxisFormat valueAxisFormat)
valueAxisFormat
- the value axis formatprotected XYDataset getDataset()
getDataset
in class AbstractChartBuilder
protected AreaPlot getPlot()
getPlot
in class AbstractChartBuilder
protected byte getChartType()
getChartType
in class AbstractChartBuilder
Copyright © 2006–2015 FDV Solutions. All rights reserved.