com.ijchart.xychart.data
Class IntervalXBoxAndWhiskerData

java.lang.Object
  extended by com.ijchart.xychart.data.AbstractChartData
      extended by com.ijchart.xychart.data.BoxAndWhiskerData
          extended by com.ijchart.xychart.data.IntervalXBoxAndWhiskerData
All Implemented Interfaces:
IChartData, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class IntervalXBoxAndWhiskerData
extends BoxAndWhiskerData
implements java.lang.Cloneable, java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

XYBoxAndWhisker ChartData object,this class is immutable.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ijchart.xychart.data.AbstractChartData
DATE_MASK_LONG
 
Constructor Summary
IntervalXBoxAndWhiskerData(double startX, double endX)
           Constructor.
 
Method Summary
 java.lang.Object clone()
           Creates and returns a copy of this object.
 boolean equals(java.lang.Object obj)
           Tests this instance for equality with an arbitrary object.
 java.lang.String getAreaFunctionArguments()
           Returns the function arguments of hotspot area.
 java.lang.String getAreaURLFragment()
           Returns the url for hotspot area.
 double getEndX()
           Returns the end x value.
 java.lang.String getLabelText()
           Returns the label text.
 double getStartX()
           Returns the start x value.
 int hashCode()
           Returns a hash code value for the object.
 java.lang.String toString()
           Returns a string representation of the object.
 
Methods inherited from class com.ijchart.xychart.data.BoxAndWhiskerData
addValue, addValues, calculateQ3Value, clearValues, compareTo, getMaxOutlier, getMaxRegularValue, getMean, getMedian, getMinOutlier, getMinRegularValue, getOutliers, getQ1, getQ3, getValues, removeValue
 
Methods inherited from class com.ijchart.xychart.data.AbstractChartData
formatDate, formatDateForFunction, formatNumber, formatNumber, formatNumberForFunction, formatNumberForFunction, getDateFormat, getNumberFormat, setDateFormat, setNumberFormat
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntervalXBoxAndWhiskerData

public IntervalXBoxAndWhiskerData(double startX,
                                  double endX)
Constructor.

Parameters:
startX - double The start x value.
endX - double The end x value.
Method Detail

getStartX

public double getStartX()
Returns the start x value.

Returns:
double The start x value.

getEndX

public double getEndX()
Returns the end x value.

Returns:
double The end x value.

getLabelText

public java.lang.String getLabelText()
Returns the label text.

Specified by:
getLabelText in interface IChartData
Overrides:
getLabelText in class BoxAndWhiskerData
Returns:
String The label text (maybe null).

getAreaFunctionArguments

public java.lang.String getAreaFunctionArguments()
Returns the function arguments of hotspot area.

Specified by:
getAreaFunctionArguments in interface IChartData
Overrides:
getAreaFunctionArguments in class BoxAndWhiskerData
Returns:
String The function arguments (maybe null).

getAreaURLFragment

public java.lang.String getAreaURLFragment()
Returns the url for hotspot area.

Specified by:
getAreaURLFragment in interface IChartData
Overrides:
getAreaURLFragment in class BoxAndWhiskerData
Returns:
String The url fragment (maybe null).

equals

public boolean equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.

Overrides:
equals in class BoxAndWhiskerData
Parameters:
obj - the object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class BoxAndWhiskerData
Returns:
int A hash code value for this object.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates and returns a copy of this object.

Overrides:
clone in class BoxAndWhiskerData
Returns:
object a clone of this instance.
Throws:
java.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class BoxAndWhiskerData
Returns:
a string representation of the object.