public class DJAreaChartBuilder extends AbstractChartBuilder<DJAreaChartBuilder>
chart| Constructor and Description |
|---|
DJAreaChartBuilder() |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected CategoryDataset |
getDataset() |
protected AreaPlot |
getPlot() |
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.
|
build, setChartOptions, setColumnGrouppublic DJAreaChartBuilder setOperation(byte operation)
setOperation in class AbstractChartBuilder<DJAreaChartBuilder>operation - the chart data operationpublic DJAreaChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilder<DJAreaChartBuilder>link - the hyperlinkpublic DJAreaChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilder<DJAreaChartBuilder>backColor - the background colorpublic DJAreaChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilder<DJAreaChartBuilder>height - the chart heightpublic DJAreaChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilder<DJAreaChartBuilder>width - the chart widthpublic DJAreaChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuilder<DJAreaChartBuilder>centered - the centeredpublic DJAreaChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilder<DJAreaChartBuilder>position - the positionpublic DJAreaChartBuilder setY(int y)
setY in class AbstractChartBuilder<DJAreaChartBuilder>y - the y positionpublic DJAreaChartBuilder setX(int x)
setX in class AbstractChartBuilder<DJAreaChartBuilder>y - the x positionpublic DJAreaChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuilder<DJAreaChartBuilder>showLegend - the legend visibilitypublic DJAreaChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuilder<DJAreaChartBuilder>titleColor - the title colorpublic DJAreaChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuilder<DJAreaChartBuilder>subtitleColor - the subtitle colorpublic DJAreaChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilder<DJAreaChartBuilder>legendColor - the legend colorpublic DJAreaChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilder<DJAreaChartBuilder>legendBackgroundColor - the legend background colorpublic DJAreaChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuilder<DJAreaChartBuilder>theme - the themepublic DJAreaChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuilder<DJAreaChartBuilder>titleFont - the title fontpublic DJAreaChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuilder<DJAreaChartBuilder>subtitleFont - the subtitle fontpublic DJAreaChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilder<DJAreaChartBuilder>legendFont - the legend fontpublic DJAreaChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilder<DJAreaChartBuilder>legendPosition - the legend positionpublic DJAreaChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuilder<DJAreaChartBuilder>titlePosition - the title positionpublic DJAreaChartBuilder setTitle(String title)
setTitle in class AbstractChartBuilder<DJAreaChartBuilder>title - the titlepublic DJAreaChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuilder<DJAreaChartBuilder>titleExpression - the title expressionpublic DJAreaChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuilder<DJAreaChartBuilder>subtitle - the subtitlepublic DJAreaChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuilder<DJAreaChartBuilder>subtitleExpression - the subtitle expressionpublic DJAreaChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilder<DJAreaChartBuilder>lineStyle - one of the line style constants in DJChartOptions classpublic DJAreaChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilder<DJAreaChartBuilder>lineWidth - the line widthpublic DJAreaChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilder<DJAreaChartBuilder>lineColor - the line colorpublic DJAreaChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilder<DJAreaChartBuilder>padding - the paddingpublic DJAreaChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilder<DJAreaChartBuilder>JRChartCustomizerpublic DJAreaChartBuilder setCategory(PropertyColumn category)
setCategory in class AbstractChartBuilder<DJAreaChartBuilder>category - the category columnpublic DJAreaChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuilder<DJAreaChartBuilder>column - the serie columnpublic DJAreaChartBuilder addSerie(AbstractColumn column, String label)
column - the serie columnlabel - column the custom labelpublic 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)
addSeriesColor in class AbstractChartBuilder<DJAreaChartBuilder>color - the series colorpublic DJAreaChartBuilder setSeriesColors(List seriesColors)
setSeriesColors in class AbstractChartBuilder<DJAreaChartBuilder>seriesColors - the series colorspublic DJAreaChartBuilder setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
categoryAxisFormat - the category axis formatpublic DJAreaChartBuilder setValueAxisFormat(DJAxisFormat valueAxisFormat)
valueAxisFormat - the value axis formatprotected CategoryDataset getDataset()
getDataset in class AbstractChartBuilder<DJAreaChartBuilder>protected AreaPlot getPlot()
getPlot in class AbstractChartBuilder<DJAreaChartBuilder>protected byte getChartType()
getChartType in class AbstractChartBuilder<DJAreaChartBuilder>Copyright © 2006–2015 FDV Solutions. All rights reserved.