jas2.hist
Class XML2DScatterDataSource
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.XML2DScatterDataSource
-
- All Implemented Interfaces:
- DataSource, ScatterPlotSource, java.io.Serializable
public class XML2DScatterDataSource extends java.util.Observable implements ScatterPlotSource, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description XML2DScatterDataSource(int p_xAxisType, int p_yAxisType, java.lang.String p_title, double[][] p_data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetTitle()Return the caption to be used in the legend for this data.intgetXAxisType()Currently we only support DATE and DOUBLE typesdoublegetXMax()doublegetXMin()intgetYAxisType()Currently we only support DOUBLEdoublegetYMax()doublegetYMin()ScatterEnumerationstartEnumeration()Starts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.ScatterEnumerationstartEnumeration(double xMin, double xMax, double yMin, double yMax)Starts the enumeration of points from the beginning, and the enumeration will include only points in the given range.
-
-
-
Constructor Detail
-
XML2DScatterDataSource
public XML2DScatterDataSource(int p_xAxisType, int p_yAxisType, java.lang.String p_title, double[][] p_data)
-
-
Method Detail
-
getXMin
public double getXMin()
- Specified by:
getXMinin interfaceScatterPlotSource
-
getXMax
public double getXMax()
- Specified by:
getXMaxin interfaceScatterPlotSource
-
getYMin
public double getYMin()
- Specified by:
getYMinin interfaceScatterPlotSource
-
getYMax
public double getYMax()
- Specified by:
getYMaxin interfaceScatterPlotSource
-
getXAxisType
public int getXAxisType()
Description copied from interface:ScatterPlotSourceCurrently we only support DATE and DOUBLE types- Specified by:
getXAxisTypein interfaceScatterPlotSource
-
getYAxisType
public int getYAxisType()
Description copied from interface:ScatterPlotSourceCurrently we only support DOUBLE- Specified by:
getYAxisTypein interfaceScatterPlotSource
-
startEnumeration
public ScatterEnumeration startEnumeration(double xMin, double xMax, double yMin, double yMax)
Description copied from interface:ScatterPlotSourceStarts the enumeration of points from the beginning, and the enumeration will include only points in the given range.- Specified by:
startEnumerationin interfaceScatterPlotSource
-
startEnumeration
public ScatterEnumeration startEnumeration()
Description copied from interface:ScatterPlotSourceStarts the enumeration of points from the beginning, and the enumeration will include all points stored in the partition.- Specified by:
startEnumerationin interfaceScatterPlotSource
-
getTitle
public java.lang.String getTitle()
Description copied from interface:DataSourceReturn the caption to be used in the legend for this data.- Specified by:
getTitlein interfaceDataSource
-
-
DataMelt 3.0 © DataMelt by jWork.ORG