public class AreaPlot extends StandardPlot
BaseDataset
interface.AbstractPlot.GradientSetting
Modifier and Type | Field and Description |
---|---|
static AreaStyle |
DEFAULT_STYLE
Default chart style with this plot.
|
ITEM_LABEL_POSITION_BASE, ITEM_LABEL_POSITION_CENTER, ITEM_LABEL_POSITION_INSIDE_OF_MAX, ITEM_LABEL_POSITION_OUTSIDE_OF_MAX
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 |
---|
AreaPlot()
Creates a area plot with default properties.
|
AreaPlot(AreaStyle style)
Creates a area plot with defined chart style.
|
Modifier and Type | Method and Description |
---|---|
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(GroupAxis categoryAxis)
Sets the axis for categories of this plot.
|
void |
setDataAxis(ContinuousNumberAxis dataAxis)
Sets the axis for data of this plot.
|
void |
setStyle(AreaStyle style)
Sets the chart style of this plot.
|
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, getReferencedObject, getSubProperties, isShowCumulativeValues, refreshAutoTitles, saveSubProperties, setCategoryAxis, setDataAxis, setDataset, setItemLabelPosition, setShowCumulativeValues
getBackColor, getColorFormula, getColorSequence, getForegroundAlpha, getGradientSetting, getItemLabelColor, getItemLabelFont, getItemLabelFormat, getItemShape, getOutlineColor, getOutlineStyle, getOutlineWidth, 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 AreaStyle DEFAULT_STYLE
public AreaPlot()
public void setCategoryAxis(GroupAxis categoryAxis)
categoryAxis
- the group axis (null
not permitted)StandardPlot.getCategoryAxis()
,
GroupAxis
public void setDataAxis(ContinuousNumberAxis dataAxis)
dataAxis
- the data axis (null
not permitted)StandardPlot.getDataAxis()
,
ContinuousNumberAxis
public ChartStyle getStyle()
getStyle
in class StandardPlot
BarStyle.BAR2D
,
LineStyle.LINE_MARKER
,
AreaStyle.AREA2D_STACKED
public void setStyle(AreaStyle style)
style
- the style (null
not permitted)getStyle()
,
AreaStyle
public void readProperties(org.w3c.dom.Element element, Chart2 chart)
readProperties
in interface ChartPlot
readProperties
in class StandardPlot
element
- the DOMParser Elementchart
- the chartCopyright © 1999-2020 by i-net software GmbH