|
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.StandardPlot
com.inet.report.chart.plot.ContinuousAreaPlot
public class ContinuousAreaPlot
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 ContinuousAreaStyle |
DEFAULT_AREA_STYLE
Default chart style with this plot. |
| Fields inherited from class com.inet.report.chart.plot.StandardPlot |
|---|
ITEM_LABEL_POSITION_BASE, ITEM_LABEL_POSITION_CENTER, ITEM_LABEL_POSITION_INSIDE_OF_MAX, ITEM_LABEL_POSITION_OUTSIDE_OF_MAX |
| 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 | |
|---|---|
ContinuousAreaPlot()
Creates a continuous area plot with default properties. |
|
ContinuousAreaPlot(ContinuousAreaStyle style)
Creates a continuous area plot with defined chart style. |
|
| Method Summary | |
|---|---|
ChartStyle |
getStyle()
Returns the style of this chart, ie. the general category this plot belongs to. |
void |
readProperties(org.w3c.dom.Element element,
Chart2 chart)
Reads the chart properties from the DOMParser Element. |
void |
setCategoryAxis(com.inet.report.chart.axis.ContinuousAxis categoryAxis)
Sets a category axis. |
void |
setDataAxis(ContinuousNumberAxis dataAxis)
Sets a data axis of this plot. |
void |
setStyle(ContinuousAreaStyle style)
Sets the chart style of this plot. |
| Methods inherited from class com.inet.report.chart.plot.StandardPlot |
|---|
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, getSubProperties, isShowCumulativeValues, refreshAutoTitles, saveSubProperties, setCategoryAxis, setDataAxis, setDataset, setItemLabelPosition, setShowCumulativeValues |
| Field Detail |
|---|
public static final ContinuousAreaStyle DEFAULT_AREA_STYLE
| Constructor Detail |
|---|
public ContinuousAreaPlot()
public ContinuousAreaPlot(ContinuousAreaStyle style)
style - the chart style (null not permitted)ContinuousAreaStyle| Method Detail |
|---|
public void setCategoryAxis(com.inet.report.chart.axis.ContinuousAxis categoryAxis)
ContinuousDateAxis,
the number style supports only ContinuousNumberAxis.
categoryAxis - the category axis (null not permitted)
java.lang.IllegalArgumentException - if the axis is null or from not supported type.ContinuousAreaStyle.AREA_DATE,
ContinuousAreaStyle.AREA_NUMBERpublic void setDataAxis(ContinuousNumberAxis dataAxis)
dataAxis - the data axis (null not permitted)
java.lang.IllegalArgumentException - if the axis is null.StandardPlot.getDataAxis(),
ContinuousNumberAxispublic ChartStyle getStyle()
getStyle in class StandardPlotBarStyle.BAR2D,
LineStyle.LINE_MARKER,
AreaStyle.AREA2D_STACKEDpublic void setStyle(ContinuousAreaStyle style)
style - the chart style (null not permitted)getStyle(),
ContinuousAreaStyle.AREA_DATE,
ContinuousAreaStyle.AREA_NUMBER
public void readProperties(org.w3c.dom.Element element,
Chart2 chart)
readProperties in interface ChartPlotreadProperties in class StandardPlotelement - the DOMParser Elementchart - the chart
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||