Klasse StandardPlot
java.lang.Object
com.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.StandardPlot
- Alle implementierten Schnittstellen:
ChartPlot, Serializable
- Bekannte direkte Unterklassen:
com.inet.report.chart.plot.AbstractLinePlot, AreaPlot, BarPlot, Chart3DPlot, ContinuousAreaPlot, ContinuousBarPlot, PolarPlot
A general plotting class that uses
BaseAxis as category axis,
DiscreteNumberAxis as data axis and StandardDataset as data source.- Seit:
- 8.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen AbstractPlot
AbstractPlot.GradientSetting -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intThe label position over the bottom of the item.static final intThe label position in the center of the item.static final intThe label position inside the max of the item.static final intThe label position outside the max of the item. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the category axis.Returns the data axis of this plot.Returns the data container of this plot.intReturns the item label position on the chart item.abstract ChartStylegetStyle()Returns the style of this chart, ie. the general category this plot belongs to.protected StringBuildergetSubProperties(int depth) Returns the serialized simple properties of subclasses.booleanReturns the flag that controls whether or not the item label labels shows cumulative or absolute values.voidreadProperties(Element element, Chart2 chart) Reads the chart properties from the DOMParser Element.voidrefreshAutoTitles(Chart2 chart) Reads out the data column names from dataset and refreshes the chart labels.protected voidsaveSubProperties(PrintWriter out, int depth) Writes the intern properties to output.voidsetCategoryAxis(BaseAxis categoryAxis) Sets the category axis for this plot.voidsetDataAxis(DiscreteNumberAxis dataAxis) Sets the data axis for this plot.voidsetDataset(StandardDataset dataset) Sets the data container for this plot.voidsetItemLabelPosition(int itemLabelPosition) Sets the item label position on the chart item.voidsetShowCumulativeValues(boolean showCumulativeValues) Sets the flag that controls whether or not the item labels shows cumulative or absolute values.Von Klasse geerbte Methoden 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
-
Felddetails
-
ITEM_LABEL_POSITION_OUTSIDE_OF_MAX
public static final int ITEM_LABEL_POSITION_OUTSIDE_OF_MAXThe label position outside the max of the item.- Siehe auch:
-
ITEM_LABEL_POSITION_INSIDE_OF_MAX
public static final int ITEM_LABEL_POSITION_INSIDE_OF_MAXThe label position inside the max of the item.- Siehe auch:
-
ITEM_LABEL_POSITION_CENTER
public static final int ITEM_LABEL_POSITION_CENTERThe label position in the center of the item.- Siehe auch:
-
ITEM_LABEL_POSITION_BASE
public static final int ITEM_LABEL_POSITION_BASEThe label position over the bottom of the item.- Siehe auch:
-
-
Konstruktordetails
-
StandardPlot
public StandardPlot()FOR INTERNAL USE ONLY
-
-
Methodendetails
-
getDataset
Returns the data container of this plot.- Gibt zurück:
- the dataset.
- Seit:
- 8.0
- Siehe auch:
-
setDataset
Sets the data container for this plot.- Parameter:
dataset- the dataset (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
getCategoryAxis
Returns the category axis. The category axis shows the values of the first group field.- Gibt zurück:
- the categoryAxis
- Seit:
- 8.0
- Siehe auch:
-
setCategoryAxis
Sets the category axis for this plot. The category axis shows the values of the first group field.- Parameter:
categoryAxis- the category axis (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
getDataAxis
Returns the data axis of this plot. The data axis shows the summarized values of the data fields.- Gibt zurück:
- the dataAxis
- Seit:
- 8.0
- Siehe auch:
-
setDataAxis
Sets the data axis for this plot. The data axis shows the summarized values of the data fields.- Parameter:
dataAxis- the data axis (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
isShowCumulativeValues
public boolean isShowCumulativeValues()Returns the flag that controls whether or not the item label labels shows cumulative or absolute values.- Gibt zurück:
- the flag
truefor cumulativefalsefor absolute values. - Seit:
- 8.0
- Siehe auch:
-
setShowCumulativeValues
public void setShowCumulativeValues(boolean showCumulativeValues) Sets the flag that controls whether or not the item labels shows cumulative or absolute values.- Parameter:
showCumulativeValues- the flagtruefor cumulativefalsefor absolute values- Seit:
- 8.0
- Siehe auch:
-
getItemLabelPosition
public int getItemLabelPosition()Returns the item label position on the chart item.- Gibt zurück:
- the item label position.
- Seit:
- 8.0
- Siehe auch:
-
setItemLabelPosition
public void setItemLabelPosition(int itemLabelPosition) Sets the item label position on the chart item. Note this property works for bar, line, area charts only. An item label is a label with name and value on each chart item. Default position isITEM_LABEL_POSITION_OUTSIDE_OF_MAX.- Parameter:
itemLabelPosition- the itemLabelPosition to set- Löst aus:
IllegalArgumentException- by unknown position.- Seit:
- 8.0
- Siehe auch:
-
refreshAutoTitles
Reads out the data column names from dataset and refreshes the chart labels. Please use this function to refresh the chart labels if the data was be changed.- Angegeben von:
refreshAutoTitlesin SchnittstelleChartPlot- Angegeben von:
refreshAutoTitlesin KlasseAbstractPlot- Parameter:
chart- the chart
-
getStyle
Returns the style of this chart, ie. the general category this plot belongs to.- Angegeben von:
getStylein KlasseAbstractPlot- Gibt zurück:
- the style
- Siehe auch:
-
saveSubProperties
Writes the intern properties to output. Overwrites this to save intern properties direct toPrintWriterwithout building aStringBuilder.- Setzt außer Kraft:
saveSubPropertiesin KlasseAbstractPlot- Parameter:
out- the outputdepth- the depth of XML indent
-
getSubProperties
Returns the serialized simple properties of subclasses.- Setzt außer Kraft:
getSubPropertiesin KlasseAbstractPlot- Parameter:
depth- the depth of XML indent- Gibt zurück:
- the properties.
-
readProperties
Reads the chart properties from the DOMParser Element.- Angegeben von:
readPropertiesin SchnittstelleChartPlot- Setzt außer Kraft:
readPropertiesin KlasseAbstractPlot- Parameter:
element- the DOMParser Elementchart- the chart
-
getReferencedObject
- Angegeben von:
getReferencedObjectin SchnittstelleChartPlot- Setzt außer Kraft:
getReferencedObjectin KlasseAbstractPlot- Gibt zurück:
- the list of objects.
-