i-net Clear Reports

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
 BaseDataset getDataset()
          Returns the dataset of this plot.
 java.util.List getReferencedObject()
          Returns a list of referenced i-net Clear Reports objects: Field or Group
 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 to PrintWriter.
 

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 to PrintWriter.

Parameters:
out - the output
depth - 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 Element
chart - the chart
Since:
8.0

getReferencedObject

java.util.List getReferencedObject()
Returns a list of referenced i-net Clear Reports objects: Field or Group

Returns:
the list of objects.
Since:
8.0

getDataset

BaseDataset getDataset()
Returns the dataset of this plot. For more information see implementations of interface BaseDataset.

Returns:
the dataset.
Since:
8.0

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH