Klasse GanttPlot
java.lang.Object
com.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.GanttPlot
- Alle implementierten Schnittstellen:
ChartPlot, Serializable
A general class for plotting data in the form of an start, end and progress value.
This plot can use data from any class that implements the
GanttDataset interface.- Seit:
- 8.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen AbstractPlot
AbstractPlot.GradientSetting -
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a gantt plot with default properties.GanttPlot(GanttStyle style) Creates a gantt plot with defined chart style. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the category axis of this plot.Returns the data axis of this plot.Returns a dataset of typeGanttDataset.intReturns the labels alignment of the items displayed on this plot.intReturns the item label position on the chart item.getStyle()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.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(GroupAxis categoryAxis) Sets the category axis for the plot.voidsetDataAxis(ContinuousDateAxis dataAxis) Sets the data axis of this plot.voidsetDataset(GanttDataset dataset) Sets the dataset for gantt chart.voidsetItemLabelAlignment(int itemLabelAlignment) Sets the item label alignment.voidsetItemLabelPosition(int itemLabelPosition) Sets the item label position on the chart item.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
-
DEFAULT_STYLE
Default chart style with this plot.
-
-
Konstruktordetails
-
GanttPlot
public GanttPlot()Creates a gantt plot with default properties.- Seit:
- 8.0
-
GanttPlot
Creates a gantt plot with defined chart style. Initializes all properties with default values.- Parameter:
style- the chart style (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
-
Methodendetails
-
getDataset
Returns a dataset of typeGanttDataset.- Gibt zurück:
- the dataset
- Seit:
- 8.0
- Siehe auch:
-
setDataset
Sets the dataset for gantt chart.- Parameter:
dataset- the dataset (nullnot permitted)- Seit:
- 8.0
- Siehe auch:
-
getCategoryAxis
Returns the category axis of this plot. 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 the 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 of 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:
-
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:
-
getItemLabelAlignment
public int getItemLabelAlignment()Returns the labels alignment of the items displayed on this plot.- Gibt zurück:
- the alignment.
- Seit:
- 8.0
- Siehe auch:
-
setItemLabelAlignment
public void setItemLabelAlignment(int itemLabelAlignment) Sets the item label alignment. An item label is a label with name and value on each chart item. Default alignment isBarPlot.ITEM_LABEL_ALIGNMENT_AUTO.- Parameter:
itemLabelAlignment- the item label alignment- Löst aus:
IllegalArgumentException- by unknown alignment.- 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. An item label is a label with name and value on each chart item. Default position isStandardPlot.ITEM_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
-
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.
-