Klasse ContinuousBarPlot
java.lang.Object
com.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.StandardPlot
com.inet.report.chart.plot.ContinuousBarPlot
- Alle implementierten Schnittstellen:
ChartPlot, Serializable
A general class for plotting data of groups of values. This plot can
use data from any class that implements the
BaseDataset interface.- Seit:
- 8.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen AbstractPlot
AbstractPlot.GradientSetting -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final ContinuousBarStyleDefault chart style with this plot.Von Klasse geerbte Felder StandardPlot
ITEM_LABEL_POSITION_BASE, ITEM_LABEL_POSITION_CENTER, ITEM_LABEL_POSITION_INSIDE_OF_MAX, ITEM_LABEL_POSITION_OUTSIDE_OF_MAX -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a continuous bar plot with default properties.Creates a continuous bar plot with defined chart style. -
Methodenübersicht
Modifikator und TypMethodeBeschreibunggetStyle()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.booleanIn a ContinuousBarChart, by default, the individual values of different series for each category value are drawn overlapping each other, so that small bars can be covered by larger bars.voidreadProperties(Element element, Chart2 chart) Reads the chart properties from the DOMParser Element.voidsetCategoryAxis(com.inet.report.chart.axis.ContinuousAxis categoryAxis) Sets a category axis.voidsetDataAxis(ContinuousNumberAxis dataAxis) Sets a data axis of this plot.voidsetOverlapping(boolean isOverlapping) In a ContinuousBarChart, by default, the individual values of different series for each category value are drawn overlapping each other, so that small bars can be covered by larger bars.voidsetStyle(ContinuousBarStyle style) Sets the chart style of this plot.Von Klasse geerbte Methoden StandardPlot
getCategoryAxis, getDataAxis, getDataset, getItemLabelPosition, getReferencedObject, isShowCumulativeValues, refreshAutoTitles, saveSubProperties, setCategoryAxis, setDataAxis, setDataset, setItemLabelPosition, setShowCumulativeValuesVon 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
-
DEFAULT_BAR_STYLE
Default chart style with this plot.
-
-
Konstruktordetails
-
ContinuousBarPlot
public ContinuousBarPlot()Creates a continuous bar plot with default properties.- Seit:
- 8.0
-
ContinuousBarPlot
Creates a continuous bar plot with defined chart style. Initializes all properties with default values.- Parameter:
style- the chart style (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
-
Methodendetails
-
setCategoryAxis
public void setCategoryAxis(com.inet.report.chart.axis.ContinuousAxis categoryAxis) Sets a category axis. Note: the date chart style supports only aContinuousDateAxis, the number style supports onlyContinuousNumberAxis.- Parameter:
categoryAxis- the category axis (nullnot permitted)- Löst aus:
IllegalArgumentException- if the axis isnullor from not supported type.- Seit:
- 8.0
- Siehe auch:
-
setDataAxis
Sets a data axis of this plot. The data axis shows the summarized values of the data fields.- Parameter:
dataAxis- the data axis (nullnot permitted)- Löst aus:
IllegalArgumentException- if the axis isnull.- Seit:
- 8.0
- Siehe auch:
-
getStyle
Returns the style of this chart, ie. the general category this plot belongs to.- Angegeben von:
getStylein KlasseStandardPlot- Gibt zurück:
- the style
- Siehe auch:
-
setStyle
Sets the chart style of this plot. Note: if you change the chart style from date to number all number are lost.- Parameter:
style- the chart style (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
isOverlapping
public boolean isOverlapping()In a ContinuousBarChart, by default, the individual values of different series for each category value are drawn overlapping each other, so that small bars can be covered by larger bars. With the normal BarChart, the bars of the individual values of the series are displayed next to each other. Returns if bars from different series are painted over each other and not beside each other- Gibt zurück:
- true if the bars are overlapping each other
- Seit:
- 23.4
-
setOverlapping
public void setOverlapping(boolean isOverlapping) In a ContinuousBarChart, by default, the individual values of different series for each category value are drawn overlapping each other, so that small bars can be covered by larger bars. With the normal BarChart, the bars of the individual values of the series are displayed next to each other. With this setting, the behavior of the ContinousBarChart can be adapted to the behavior of the normal BarCharts.- Parameter:
isOverlapping- true if the bars should be overlapping other bars- Seit:
- 23.4
-
readProperties
Reads the chart properties from the DOMParser Element.- Angegeben von:
readPropertiesin SchnittstelleChartPlot- Setzt außer Kraft:
readPropertiesin KlasseStandardPlot- Parameter:
element- the DOMParser Elementchart- the chart
-
getSubProperties
Returns the serialized simple properties of subclasses.- Setzt außer Kraft:
getSubPropertiesin KlasseStandardPlot- Parameter:
depth- the depth of XML indent- Gibt zurück:
- the properties.
-