public class DJScatterChartBuilder extends AbstractChartBuilder<DJScatterChartBuilder>
chart| Constructor and Description |
|---|
DJScatterChartBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DJScatterChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.
|
DJScatterChartBuilder |
addSerie(AbstractColumn column,
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(Color color)
Adds the specified series color to the plot.
|
protected byte |
getChartType() |
protected XYDataset |
getDataset() |
protected ScatterPlot |
getPlot() |
DJScatterChartBuilder |
setBackColor(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(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(Color legendBackgroundColor)
Sets the legend background color.
|
DJScatterChartBuilder |
setLegendColor(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(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(List<Color> 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(String subtitle)
Sets the subtitle.
|
DJScatterChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression.
|
DJScatterChartBuilder |
setSubtitleColor(Color subtitleColor)
Sets the subtitle color.
|
DJScatterChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font.
|
DJScatterChartBuilder |
setTheme(String theme)
Sets the theme.
|
DJScatterChartBuilder |
setTitle(String title)
Sets the title.
|
DJScatterChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression.
|
DJScatterChartBuilder |
setTitleColor(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.
|
build, setChartOptions, setColumnGrouppublic DJScatterChartBuilder setOperation(byte operation)
setOperation in class AbstractChartBuilder<DJScatterChartBuilder>operation - the chart data operationpublic DJScatterChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilder<DJScatterChartBuilder>link - the hyperlinkpublic DJScatterChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilder<DJScatterChartBuilder>backColor - the background colorpublic DJScatterChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilder<DJScatterChartBuilder>height - the chart heightpublic DJScatterChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilder<DJScatterChartBuilder>width - the chart widthpublic DJScatterChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuilder<DJScatterChartBuilder>centered - the centeredpublic DJScatterChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilder<DJScatterChartBuilder>position - the positionpublic DJScatterChartBuilder setY(int y)
setY in class AbstractChartBuilder<DJScatterChartBuilder>y - the y positionpublic DJScatterChartBuilder setX(int x)
setX in class AbstractChartBuilder<DJScatterChartBuilder>public DJScatterChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuilder<DJScatterChartBuilder>showLegend - the legend visibilitypublic DJScatterChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuilder<DJScatterChartBuilder>titleColor - the title colorpublic DJScatterChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuilder<DJScatterChartBuilder>subtitleColor - the subtitle colorpublic DJScatterChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilder<DJScatterChartBuilder>legendColor - the legend colorpublic DJScatterChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilder<DJScatterChartBuilder>legendBackgroundColor - the legend background colorpublic DJScatterChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuilder<DJScatterChartBuilder>theme - the themepublic DJScatterChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuilder<DJScatterChartBuilder>titleFont - the title fontpublic DJScatterChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuilder<DJScatterChartBuilder>subtitleFont - the subtitle fontpublic DJScatterChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilder<DJScatterChartBuilder>legendFont - the legend fontpublic DJScatterChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilder<DJScatterChartBuilder>legendPosition - the legend positionpublic DJScatterChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuilder<DJScatterChartBuilder>titlePosition - the title positionpublic DJScatterChartBuilder setTitle(String title)
setTitle in class AbstractChartBuilder<DJScatterChartBuilder>title - the titlepublic DJScatterChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuilder<DJScatterChartBuilder>titleExpression - the title expressionpublic DJScatterChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuilder<DJScatterChartBuilder>subtitle - the subtitlepublic DJScatterChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuilder<DJScatterChartBuilder>subtitleExpression - the subtitle expressionpublic DJScatterChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilder<DJScatterChartBuilder>lineStyle - one of the line style constants in DJChartOptions classpublic DJScatterChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilder<DJScatterChartBuilder>lineWidth - the line widthpublic DJScatterChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilder<DJScatterChartBuilder>lineColor - the line colorpublic DJScatterChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilder<DJScatterChartBuilder>padding - the paddingpublic DJScatterChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilder<DJScatterChartBuilder>JRChartCustomizerprotected DJScatterChartBuilder setCategory(PropertyColumn xValue)
setCategory in class AbstractChartBuilder<DJScatterChartBuilder>public DJScatterChartBuilder setXValue(PropertyColumn xValue)
xValue - the x value columnpublic DJScatterChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuilder<DJScatterChartBuilder>column - the serie columnpublic DJScatterChartBuilder addSerie(AbstractColumn column, String label)
column - the serie columnlabel - column the custom labelpublic DJScatterChartBuilder addSerie(AbstractColumn column, StringExpression labelExpression)
column - the serie columnpublic DJScatterChartBuilder setLabelRotation(double labelRotation)
labelRotation - the label rotationpublic DJScatterChartBuilder setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation - the plot orientationpublic DJScatterChartBuilder addSeriesColor(Color color)
addSeriesColor in class AbstractChartBuilder<DJScatterChartBuilder>color - the series colorpublic DJScatterChartBuilder setSeriesColors(List<Color> seriesColors)
setSeriesColors in class AbstractChartBuilder<DJScatterChartBuilder>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<DJScatterChartBuilder>protected ScatterPlot getPlot()
getPlot in class AbstractChartBuilder<DJScatterChartBuilder>protected byte getChartType()
getChartType in class AbstractChartBuilder<DJScatterChartBuilder>Copyright © 2006–2017 FDV Solutions. All rights reserved.