Package com.inet.report.chart.plot
Interface ChartPlot
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
com.inet.report.chart.plot.AbstractLinePlot
,AbstractPlot
,AreaPlot
,BarPlot
,Chart3DPlot
,CombinedPlot
,ContinuousAreaPlot
,ContinuousBarPlot
,ContinuousLinePlot
,GanttPlot
,LinePlot
,MultiplePiePlot
,PiePlot
,PolarPlot
,StandardPlot
,StockPlot
,XYPlot
public interface ChartPlot extends java.io.Serializable
Interface for general chart plots.- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseDataset
getDataset()
Returns the dataset of this plot.java.util.List
getReferencedObject()
void
readProperties(org.w3c.dom.Element element, Chart2 chart)
Reads the chart properties from the DOMParser Element.void
refreshAutoTitles(Chart2 chart)
Reads out the data column names from dataset and refreshes the chart labels.void
saveProperties(java.io.PrintWriter out, int depth)
Writes the properties of this chart plot toPrintWriter
.
-
-
-
Method Detail
-
refreshAutoTitles
void refreshAutoTitles(Chart2 chart)
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.- Parameters:
chart
- the chart- Since:
- 8.0
-
saveProperties
void saveProperties(java.io.PrintWriter out, int depth)
Writes the properties of this chart plot toPrintWriter
.- Parameters:
out
- the outputdepth
- the depth of XML indent- Since:
- 8.0
-
readProperties
void readProperties(org.w3c.dom.Element element, Chart2 chart)
Reads the chart properties from the DOMParser Element.- Parameters:
element
- the DOMParser Elementchart
- the chart- Since:
- 8.0
-
getReferencedObject
java.util.List getReferencedObject()
- Returns:
- the list of objects.
- Since:
- 8.0
-
getDataset
BaseDataset getDataset()
Returns the dataset of this plot. For more information see implementations of interfaceBaseDataset
.- Returns:
- the dataset.
- Since:
- 8.0
-
-