public class DJScatterChartBuilder extends AbstractChartBuilder
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 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 AbstractChartBuilderoperation - the chart data operationpublic DJScatterChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilderlink - the hyperlinkpublic DJScatterChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilderbackColor - the background colorpublic DJScatterChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilderheight - the chart heightpublic DJScatterChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilderwidth - the chart widthpublic DJScatterChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuildercentered - the centeredpublic DJScatterChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilderposition - the positionpublic DJScatterChartBuilder setY(int y)
setY in class AbstractChartBuildery - the y positionpublic DJScatterChartBuilder setX(int x)
setX in class AbstractChartBuildery - the x positionpublic DJScatterChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuildershowLegend - the legend visibilitypublic DJScatterChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuildertitleColor - the title colorpublic DJScatterChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuildersubtitleColor - the subtitle colorpublic DJScatterChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilderlegendColor - the legend colorpublic DJScatterChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilderlegendBackgroundColor - the legend background colorpublic DJScatterChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuildertheme - the themepublic DJScatterChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuildertitleFont - the title fontpublic DJScatterChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuildersubtitleFont - the subtitle fontpublic DJScatterChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilderlegendFont - the legend fontpublic DJScatterChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilderlegendPosition - the legend positionpublic DJScatterChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuildertitlePosition - the title positionpublic DJScatterChartBuilder setTitle(String title)
setTitle in class AbstractChartBuildertitle - the titlepublic DJScatterChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuildertitleExpression - the title expressionpublic DJScatterChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuildersubtitle - the subtitlepublic DJScatterChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuildersubtitleExpression - the subtitle expressionpublic DJScatterChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilderlineStyle - one of the line style constants in DJChartOptions classpublic DJScatterChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilderlineWidth - the line widthpublic DJScatterChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilderlineColor - the line colorpublic DJScatterChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilderpadding - the paddingpublic DJScatterChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilderJRChartCustomizerprotected DJScatterChartBuilder setCategory(PropertyColumn xValue)
setCategory in class AbstractChartBuilderpublic DJScatterChartBuilder setXValue(PropertyColumn xValue)
xValue - the x value columnpublic DJScatterChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuildercolumn - 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 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(Color color)
addSeriesColor in class AbstractChartBuildercolor - the series colorpublic DJScatterChartBuilder setSeriesColors(List seriesColors)
setSeriesColors in class AbstractChartBuilderseriesColors - 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 AbstractChartBuilderprotected ScatterPlot getPlot()
getPlot in class AbstractChartBuilderprotected byte getChartType()
getChartType in class AbstractChartBuilderCopyright © 2006–2015 FDV Solutions. All rights reserved.