|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.PiePlot
com.inet.report.chart.plot.MultiplePiePlot
public class MultiplePiePlot
A general class for plotting data of groups of values. This plot can
use data from any class that implements the BaseDataset interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.inet.report.chart.plot.AbstractPlot |
|---|
AbstractPlot.GradientSetting |
| Field Summary | |
|---|---|
static MultiplePieStyle |
DEFAULT_MULTIPLE_STYLE
Default chart style with this plot. |
| Fields inherited from class com.inet.report.chart.plot.PiePlot |
|---|
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 |
| Fields inherited from class com.inet.report.chart.plot.AbstractPlot |
|---|
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 Summary | |
|---|---|
MultiplePiePlot()
Creates a multiple pie plot with default properties. |
|
MultiplePiePlot(MultiplePieStyle style)
Creates a multiple pie plot with defined chart style. |
|
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
public static final MultiplePieStyle DEFAULT_MULTIPLE_STYLE
| Constructor Detail |
|---|
public MultiplePiePlot()
public MultiplePiePlot(MultiplePieStyle style)
style - the chart style (null not permitted)MultiplePieStyle| Method Detail |
|---|
public BaseDataset getDataset()
PieDataset or of type StandardDataset.
Note this chart style supports both dataset types.
getDataset in interface ChartPlotgetDataset in class PiePlotsetDataset(PieDataset),
setDataset(StandardDataset),
ForAllRecordsDataset,
ForEachRecordDataset,
OneGroupDataset,
TwoGroupsDatasetpublic void setDataset(StandardDataset dataset)
StandardDataset.
dataset - the dataset to set (null not permitted)getDataset(),
StandardDataset,
ForAllRecordsDataset,
ForEachRecordDataset,
OneGroupDataset,
TwoGroupsDatasetpublic void setDataset(PieDataset dataset)
setDataset in class PiePlotdataset - the pie dataset (null not permitted)PiePlot.getDataset(),
PieDataset,
ForAllRecordsDataset,
ForEachRecordDataset,
OneGroupDatasetpublic ChartStyle getStyle()
getStyle in class PiePlotBarStyle.BAR2D,
LineStyle.LINE_MARKER,
AreaStyle.AREA2D_STACKEDpublic void setStyle(PieStyle style)
setStyle in class PiePlotstyle - the style
java.lang.IllegalStateException - this chart style supports only multiple pie style.getStyle()
protected void readDataset(org.w3c.dom.Element element,
Chart2 chart)
readDataset in class PiePlotelement - the DOM elementchart - the chart
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||