Package com.inet.report.chart.plot
Class LinePlot
java.lang.Object
com.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.StandardPlot
com.inet.report.chart.plot.AbstractLinePlot
com.inet.report.chart.plot.LinePlot
- All Implemented Interfaces:
ChartPlot
,Serializable
public class LinePlot
extends com.inet.report.chart.plot.AbstractLinePlot
A general class for plotting data of groups of values. This plot can
use data from any class that implements the
BaseDataset
interface.- Since:
- 8.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inet.report.chart.plot.AbstractPlot
AbstractPlot.GradientSetting
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptiongetStyle()
Returns the style of this chart, ie. the general category this plot belongs to.void
setCategoryAxis
(GroupAxis categoryAxis) Sets the category axis of this plot.void
setDataAxis
(ContinuousNumberAxis dataAxis) Sets the data axis of this plot.void
Sets the chart style of this plot.Methods inherited from class com.inet.report.chart.plot.AbstractLinePlot
getDrawOutOfScale, getSubProperties, isDrawConnectedLines, readProperties, setDrawConnectedLines, setDrawOutOfScale
Methods inherited from class com.inet.report.chart.plot.StandardPlot
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, getReferencedObject, isShowCumulativeValues, refreshAutoTitles, saveSubProperties, setCategoryAxis, setDataAxis, setDataset, setItemLabelPosition, setShowCumulativeValues
Methods inherited from class com.inet.report.chart.plot.AbstractPlot
getBackColor, getColorFormula, getColorSequence, getForegroundAlpha, getGradientSetting, getItemLabelColor, getItemLabelFont, getItemLabelFormat, getItemLabelFormatFormula, getItemShape, getOutlineColor, getOutlineStyle, getOutlineWidth, isColorBySeries, isDrawOutline, isSameColorsForSameGroups, isShowLabel, isShowValue, saveProperties, setBackColor, setColorBySeries, setColorFormula, setColorSequence, setDrawOutline, setForegroundAlpha, setGradientSetting, setItemLabelColor, setItemLabelFont, setItemLabelFormat, setItemLabelFormatFormula, setItemShape, setOutlineColor, setOutlineStyle, setOutlineWidth, setSameColorsForSameGroups, setShowLabel, setShowValue
-
Field Details
-
DEFAULT_STYLE
Default chart style of this plot.
-
-
Constructor Details
-
LinePlot
public LinePlot()Creates a line plot with default line style.- Since:
- 8.0
- See Also:
-
LinePlot
Creates a line plot with defined chart style. Initializes all properties with default values.- Parameters:
style
- the chart style (null
not permitted)- Since:
- 8.0
- See Also:
-
-
Method Details
-
setCategoryAxis
Sets the category axis of this plot. The category axis shows the values of the first group field.- Parameters:
categoryAxis
- the category axis (null
not permitted)- Since:
- 8.0
- See Also:
-
setDataAxis
Sets the data axis of this plot. The data axis shows the summarized values of the data fields.- Parameters:
dataAxis
- the data axis (null
not permitted)- Since:
- 8.0
- See Also:
-
getStyle
Returns the style of this chart, ie. the general category this plot belongs to.- Specified by:
getStyle
in classcom.inet.report.chart.plot.AbstractLinePlot
- Returns:
- the style
- See Also:
-
setStyle
Sets the chart style of this plot.- Parameters:
style
- the style (null
not permitted)- Since:
- 8.0
- See Also:
-