public class DJXYAreaChartBuilder extends AbstractChartBuilder<DJXYAreaChartBuilder>
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<Color> 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, setColumnGrouppublic DJXYAreaChartBuilder setOperation(byte operation)
setOperation in class AbstractChartBuilder<DJXYAreaChartBuilder>operation - the chart data operationpublic DJXYAreaChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilder<DJXYAreaChartBuilder>link - the hyperlinkpublic DJXYAreaChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilder<DJXYAreaChartBuilder>backColor - the background colorpublic DJXYAreaChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilder<DJXYAreaChartBuilder>height - the chart heightpublic DJXYAreaChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilder<DJXYAreaChartBuilder>width - the chart widthpublic DJXYAreaChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuilder<DJXYAreaChartBuilder>centered - the centeredpublic DJXYAreaChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilder<DJXYAreaChartBuilder>position - the positionpublic DJXYAreaChartBuilder setY(int y)
setY in class AbstractChartBuilder<DJXYAreaChartBuilder>y - the y positionpublic DJXYAreaChartBuilder setX(int x)
setX in class AbstractChartBuilder<DJXYAreaChartBuilder>public DJXYAreaChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuilder<DJXYAreaChartBuilder>showLegend - the legend visibilitypublic DJXYAreaChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuilder<DJXYAreaChartBuilder>titleColor - the title colorpublic DJXYAreaChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuilder<DJXYAreaChartBuilder>subtitleColor - the subtitle colorpublic DJXYAreaChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilder<DJXYAreaChartBuilder>legendColor - the legend colorpublic DJXYAreaChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilder<DJXYAreaChartBuilder>legendBackgroundColor - the legend background colorpublic DJXYAreaChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuilder<DJXYAreaChartBuilder>theme - the themepublic DJXYAreaChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuilder<DJXYAreaChartBuilder>titleFont - the title fontpublic DJXYAreaChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuilder<DJXYAreaChartBuilder>subtitleFont - the subtitle fontpublic DJXYAreaChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilder<DJXYAreaChartBuilder>legendFont - the legend fontpublic DJXYAreaChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilder<DJXYAreaChartBuilder>legendPosition - the legend positionpublic DJXYAreaChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuilder<DJXYAreaChartBuilder>titlePosition - the title positionpublic DJXYAreaChartBuilder setTitle(String title)
setTitle in class AbstractChartBuilder<DJXYAreaChartBuilder>title - the titlepublic DJXYAreaChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuilder<DJXYAreaChartBuilder>titleExpression - the title expressionpublic DJXYAreaChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuilder<DJXYAreaChartBuilder>subtitle - the subtitlepublic DJXYAreaChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuilder<DJXYAreaChartBuilder>subtitleExpression - the subtitle expressionpublic DJXYAreaChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilder<DJXYAreaChartBuilder>lineStyle - one of the line style constants in DJChartOptions classpublic DJXYAreaChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilder<DJXYAreaChartBuilder>lineWidth - the line widthpublic DJXYAreaChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilder<DJXYAreaChartBuilder>lineColor - the line colorpublic DJXYAreaChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilder<DJXYAreaChartBuilder>padding - the paddingpublic DJXYAreaChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilder<DJXYAreaChartBuilder>JRChartCustomizerprotected DJXYAreaChartBuilder setCategory(PropertyColumn xValue)
setCategory in class AbstractChartBuilder<DJXYAreaChartBuilder>public DJXYAreaChartBuilder setXValue(PropertyColumn xValue)
xValue - the x value columnpublic DJXYAreaChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuilder<DJXYAreaChartBuilder>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 columnpublic 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<DJXYAreaChartBuilder>color - the series colorpublic DJXYAreaChartBuilder setSeriesColors(List<Color> seriesColors)
setSeriesColors in class AbstractChartBuilder<DJXYAreaChartBuilder>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<DJXYAreaChartBuilder>protected AreaPlot getPlot()
getPlot in class AbstractChartBuilder<DJXYAreaChartBuilder>protected byte getChartType()
getChartType in class AbstractChartBuilder<DJXYAreaChartBuilder>Copyright © 2006–2017 FDV Solutions. All rights reserved.