public class DJPieChartBuilder extends AbstractChartBuilder<DJPieChartBuilder>
chart| Constructor and Description |
|---|
DJPieChartBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DJPieChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.
|
DJPieChartBuilder |
addSeriesColor(Color color)
Adds the specified series color to the plot.
|
protected byte |
getChartType() |
protected PieDataset |
getDataset() |
protected PiePlot |
getPlot() |
DJPieChartBuilder |
setBackColor(Color backColor)
Sets the background color.
|
protected DJPieChartBuilder |
setCategory(PropertyColumn key)
Allows AbstractChartBuilder to set the key column
|
DJPieChartBuilder |
setCentered(boolean centered)
Sets the centered.
|
DJPieChartBuilder |
setCircular(boolean circular)
Sets the circular.
|
DJPieChartBuilder |
setCustomizerClass(String customizerClass)
Sets a user specified chart customizer class name.
|
DJPieChartBuilder |
setHeight(int height)
Sets the chart height.
|
DJPieChartBuilder |
setKey(PropertyColumn key)
Sets the key column.
|
DJPieChartBuilder |
setLabelFormat(String labelFormat)
Sets the label format.
|
DJPieChartBuilder |
setLegendBackgroundColor(Color legendBackgroundColor)
Sets the legend background color.
|
DJPieChartBuilder |
setLegendColor(Color legendColor)
Sets the legend color.
|
DJPieChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font.
|
DJPieChartBuilder |
setLegendLabelFormat(String legendLabelFormat)
Sets the legend label format.
|
DJPieChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJPieChartBuilder |
setLineColor(Color lineColor)
Sets the line color.
|
DJPieChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE).
|
DJPieChartBuilder |
setLineWidth(float lineWidth)
Sets the line width.
|
DJPieChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink.
|
DJPieChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
|
DJPieChartBuilder |
setPadding(int padding)
Sets the padding.
|
DJPieChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER).
|
DJPieChartBuilder |
setSeriesColors(List<Color> seriesColors)
Set the specified series colors to the plot.
|
DJPieChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility.
|
DJPieChartBuilder |
setSubtitle(String subtitle)
Sets the subtitle.
|
DJPieChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression.
|
DJPieChartBuilder |
setSubtitleColor(Color subtitleColor)
Sets the subtitle color.
|
DJPieChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font.
|
DJPieChartBuilder |
setTheme(String theme)
Sets the theme.
|
DJPieChartBuilder |
setTitle(String title)
Sets the title.
|
DJPieChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression.
|
DJPieChartBuilder |
setTitleColor(Color titleColor)
Sets the title color.
|
DJPieChartBuilder |
setTitleFont(Font titleFont)
Sets the title font.
|
DJPieChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
|
DJPieChartBuilder |
setWidth(int width)
Sets the chart width.
|
DJPieChartBuilder |
setX(int x)
Sets the x position.
|
DJPieChartBuilder |
setY(int y)
Sets the y position.
|
build, setChartOptions, setColumnGrouppublic DJPieChartBuilder setOperation(byte operation)
setOperation in class AbstractChartBuilder<DJPieChartBuilder>operation - the chart data operationpublic DJPieChartBuilder setLink(DJHyperLink link)
setLink in class AbstractChartBuilder<DJPieChartBuilder>link - the hyperlinkpublic DJPieChartBuilder setBackColor(Color backColor)
setBackColor in class AbstractChartBuilder<DJPieChartBuilder>backColor - the background colorpublic DJPieChartBuilder setHeight(int height)
setHeight in class AbstractChartBuilder<DJPieChartBuilder>height - the chart heightpublic DJPieChartBuilder setWidth(int width)
setWidth in class AbstractChartBuilder<DJPieChartBuilder>width - the chart widthpublic DJPieChartBuilder setCentered(boolean centered)
setCentered in class AbstractChartBuilder<DJPieChartBuilder>centered - the centeredpublic DJPieChartBuilder setPosition(byte position)
setPosition in class AbstractChartBuilder<DJPieChartBuilder>position - the positionpublic DJPieChartBuilder setY(int y)
setY in class AbstractChartBuilder<DJPieChartBuilder>y - the y positionpublic DJPieChartBuilder setX(int x)
setX in class AbstractChartBuilder<DJPieChartBuilder>public DJPieChartBuilder setShowLegend(boolean showLegend)
setShowLegend in class AbstractChartBuilder<DJPieChartBuilder>showLegend - the legend visibilitypublic DJPieChartBuilder setTitleColor(Color titleColor)
setTitleColor in class AbstractChartBuilder<DJPieChartBuilder>titleColor - the title colorpublic DJPieChartBuilder setSubtitleColor(Color subtitleColor)
setSubtitleColor in class AbstractChartBuilder<DJPieChartBuilder>subtitleColor - the subtitle colorpublic DJPieChartBuilder setLegendColor(Color legendColor)
setLegendColor in class AbstractChartBuilder<DJPieChartBuilder>legendColor - the legend colorpublic DJPieChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
setLegendBackgroundColor in class AbstractChartBuilder<DJPieChartBuilder>legendBackgroundColor - the legend background colorpublic DJPieChartBuilder setTheme(String theme)
setTheme in class AbstractChartBuilder<DJPieChartBuilder>theme - the themepublic DJPieChartBuilder setTitleFont(Font titleFont)
setTitleFont in class AbstractChartBuilder<DJPieChartBuilder>titleFont - the title fontpublic DJPieChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont in class AbstractChartBuilder<DJPieChartBuilder>subtitleFont - the subtitle fontpublic DJPieChartBuilder setLegendFont(Font legendFont)
setLegendFont in class AbstractChartBuilder<DJPieChartBuilder>legendFont - the legend fontpublic DJPieChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition in class AbstractChartBuilder<DJPieChartBuilder>legendPosition - the legend positionpublic DJPieChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition in class AbstractChartBuilder<DJPieChartBuilder>titlePosition - the title positionpublic DJPieChartBuilder setTitle(String title)
setTitle in class AbstractChartBuilder<DJPieChartBuilder>title - the titlepublic DJPieChartBuilder setTitle(StringExpression titleExpression)
setTitle in class AbstractChartBuilder<DJPieChartBuilder>titleExpression - the title expressionpublic DJPieChartBuilder setSubtitle(String subtitle)
setSubtitle in class AbstractChartBuilder<DJPieChartBuilder>subtitle - the subtitlepublic DJPieChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle in class AbstractChartBuilder<DJPieChartBuilder>subtitleExpression - the subtitle expressionpublic DJPieChartBuilder setLineStyle(byte lineStyle)
setLineStyle in class AbstractChartBuilder<DJPieChartBuilder>lineStyle - one of the line style constants in DJChartOptions classpublic DJPieChartBuilder setLineWidth(float lineWidth)
setLineWidth in class AbstractChartBuilder<DJPieChartBuilder>lineWidth - the line widthpublic DJPieChartBuilder setLineColor(Color lineColor)
setLineColor in class AbstractChartBuilder<DJPieChartBuilder>lineColor - the line colorpublic DJPieChartBuilder setPadding(int padding)
setPadding in class AbstractChartBuilder<DJPieChartBuilder>padding - the paddingpublic DJPieChartBuilder setCustomizerClass(String customizerClass)
setCustomizerClass in class AbstractChartBuilder<DJPieChartBuilder>JRChartCustomizerprotected DJPieChartBuilder setCategory(PropertyColumn key)
setCategory in class AbstractChartBuilder<DJPieChartBuilder>public DJPieChartBuilder setKey(PropertyColumn key)
key - the key columnpublic DJPieChartBuilder addSerie(AbstractColumn column)
addSerie in class AbstractChartBuilder<DJPieChartBuilder>column - the serie columnpublic DJPieChartBuilder addSeriesColor(Color color)
addSeriesColor in class AbstractChartBuilder<DJPieChartBuilder>color - the series colorpublic DJPieChartBuilder setSeriesColors(List<Color> seriesColors)
setSeriesColors in class AbstractChartBuilder<DJPieChartBuilder>seriesColors - the series colorspublic DJPieChartBuilder setCircular(boolean circular)
circular - the circularpublic DJPieChartBuilder setLabelFormat(String labelFormat)
labelFormat - the label formatpublic DJPieChartBuilder setLegendLabelFormat(String legendLabelFormat)
legendLabelFormat - the legend label formatprotected PieDataset getDataset()
getDataset in class AbstractChartBuilder<DJPieChartBuilder>protected PiePlot getPlot()
getPlot in class AbstractChartBuilder<DJPieChartBuilder>protected byte getChartType()
getChartType in class AbstractChartBuilder<DJPieChartBuilder>Copyright © 2006–2020 FDV Solutions. All rights reserved.