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