public class MultiplePiePlot extends PiePlot
BaseDataset
interface.AbstractPlot.GradientSetting
Modifier and Type | Field and Description |
---|---|
static MultiplePieStyle |
DEFAULT_MULTIPLE_STYLE
Default chart style with this plot.
|
DEFAULT_EXPAND_PERCENT, DEFAULT_ITEM_LABEL_BACKGROUND_COLOR, DEFAULT_ITEM_LABEL_GAP, DEFAULT_ITEM_LABEL_OUTLINE_COLOR, DEFAULT_ITEM_LABEL_OUTLINE_STYLE, DEFAULT_ITEM_LABEL_OUTLINE_WIDTH, DEFAULT_ROTATION_ANGLE, DEFAULT_STYLE
DEFAULT_COLOR_SEQUENCE, DEFAULT_FOREGROUND_ALPHA, DEFAULT_ITEM_LABEL_COLOR, DEFAULT_ITEM_LABEL_FONT, DEFAULT_OUTLINE_COLOR, DEFAULT_OUTLINE_STYLE, DEFAULT_OUTLINE_WIDTH, TOKEN_PLOT
Constructor and Description |
---|
MultiplePiePlot()
Creates a multiple pie plot with default properties.
|
MultiplePiePlot(MultiplePieStyle style)
Creates a multiple pie plot with defined chart style.
|
Modifier and Type | Method and Description |
---|---|
BaseDataset |
getDataset()
Returns a dataset of type
PieDataset or of type StandardDataset . |
ChartStyle |
getStyle()
Returns the style of this chart, ie. the general category this plot belongs to.
|
protected void |
readDataset(org.w3c.dom.Element element,
Chart2 chart)
Reads the dataset properties from DOM element.
|
void |
setDataset(StandardDataset dataset)
Sets the dataset for this plot.
|
void |
setDataset(PieDataset dataset)
Sets a pie dataset for this chart.
|
void |
setStyle(PieStyle style)
Overwrites the super implementation.
|
getExpandPercent, getItemLabelBackColor, getItemLabelGap, getItemLabelOutlineColor, getItemLabelOutlineStyle, getItemLabelOutlineWidth, getLegendLayout, getRotationAngle, getSectionIndexes, getSubProperties, isDrawItemLabelOutline, isIgnoreZeroValues, readProperties, refreshAutoTitles, saveSubProperties, setDrawItemLabelOutline, setExpandPercent, setIgnoreZeroValues, setItemLabelBackColor, setItemLabelGap, setItemLabelOutlineColor, setItemLabelOutlineStyle, setItemLabelOutlineWidth, setLegendLayout, setRotationAngle, setSectionIndexes
getBackColor, getColorFormula, getColorSequence, getForegroundAlpha, getGradientSetting, getItemLabelColor, getItemLabelFont, getItemLabelFormat, getItemShape, getOutlineColor, getOutlineStyle, getOutlineWidth, getReferencedObject, isColorBySeries, isDrawOutline, isSameColorsForSameGroups, isShowLabel, isShowValue, saveProperties, setBackColor, setColorBySeries, setColorFormula, setColorSequence, setDrawOutline, setForegroundAlpha, setGradientSetting, setItemLabelColor, setItemLabelFont, setItemLabelFormat, setItemShape, setOutlineColor, setOutlineStyle, setOutlineWidth, setSameColorsForSameGroups, setShowLabel, setShowValue
public static final MultiplePieStyle DEFAULT_MULTIPLE_STYLE
public MultiplePiePlot()
public MultiplePiePlot(MultiplePieStyle style)
style
- the chart style (null
not permitted)MultiplePieStyle
public BaseDataset getDataset()
PieDataset
or of type StandardDataset
.
Note this chart style supports both dataset types.getDataset
in interface ChartPlot
getDataset
in class PiePlot
setDataset(PieDataset)
,
setDataset(StandardDataset)
,
ForAllRecordsDataset
,
ForEachRecordDataset
,
OneGroupDataset
,
TwoGroupsDataset
public void setDataset(StandardDataset dataset)
StandardDataset
.dataset
- the dataset to set (null
not permitted)getDataset()
,
StandardDataset
,
ForAllRecordsDataset
,
ForEachRecordDataset
,
OneGroupDataset
,
TwoGroupsDataset
public void setDataset(PieDataset dataset)
setDataset
in class PiePlot
dataset
- the pie dataset (null
not permitted)PiePlot.getDataset()
,
PieDataset
,
ForAllRecordsDataset
,
ForEachRecordDataset
,
OneGroupDataset
public ChartStyle getStyle()
getStyle
in class PiePlot
BarStyle.BAR2D
,
LineStyle.LINE_MARKER
,
AreaStyle.AREA2D_STACKED
public void setStyle(PieStyle style)
setStyle
in class PiePlot
style
- the stylejava.lang.IllegalStateException
- this chart style supports only multiple pie style.getStyle()
protected void readDataset(org.w3c.dom.Element element, Chart2 chart)
readDataset
in class PiePlot
element
- the DOM elementchart
- the chartCopyright © 1999-2020 by i-net software GmbH