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