public class ContinuousLinePlot
extends com.inet.report.chart.plot.AbstractLinePlot
BaseDataset
interface.AbstractPlot.GradientSetting
Modifier and Type | Field and Description |
---|---|
static ContinuousLineStyle |
DEFAULT_LINE_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 |
---|
ContinuousLinePlot()
Creates a continuous line plot with default properties.
|
ContinuousLinePlot(ContinuousLineStyle style)
Creates a continuous line 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 |
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(ContinuousLineStyle style)
Sets the chart style of this plot.
|
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, getReferencedObject, getSubProperties, isShowCumulativeValues, readProperties, 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 ContinuousLineStyle DEFAULT_LINE_STYLE
public ContinuousLinePlot()
public ContinuousLinePlot(ContinuousLineStyle style)
style
- the chart style (null
not permitted)ContinuousLineStyle
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.StandardPlot.getCategoryAxis()
,
ContinuousLineStyle.LINE_DATE
,
ContinuousLineStyle.LINE_NUMBER
public void setDataAxis(ContinuousNumberAxis dataAxis)
dataAxis
- the data axis (null
not permitted)java.lang.IllegalArgumentException
- if the axis is null
.StandardPlot.getDataAxis()
,
ContinuousNumberAxis
public ChartStyle getStyle()
getStyle
in class com.inet.report.chart.plot.AbstractLinePlot
BarStyle.BAR2D
,
LineStyle.LINE_MARKER
,
AreaStyle.AREA2D_STACKED
public void setStyle(ContinuousLineStyle style)
style
- the chart style (null
not permitted)getStyle()
,
ContinuousLineStyle.LINE_DATE
,
ContinuousLineStyle.LINE_NUMBER
Copyright © 1999-2020 by i-net software GmbH