Package com.inet.report.chart.plot
Interface ChartPlot
- All Superinterfaces:
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
Interface for general chart plots.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the dataset of this plot.void
readProperties
(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
(PrintWriter out, int depth) Writes the properties of this chart plot toPrintWriter
.
-
Method Details
-
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.- Parameters:
chart
- the chart- Since:
- 8.0
-
saveProperties
Writes the properties of this chart plot toPrintWriter
.- Parameters:
out
- the outputdepth
- the depth of XML indent- Since:
- 8.0
-
readProperties
Reads the chart properties from the DOMParser Element.- Parameters:
element
- the DOMParser Elementchart
- the chart- Since:
- 8.0
-
getReferencedObject
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
-