Class AxisData<Abscissa,Ordinate>
java.lang.Object
com.orchestranetworks.addon.dqid.chart.Data
com.orchestranetworks.addon.dqid.chart.AbstractAxisData<Abscissa,Ordinate>
com.orchestranetworks.addon.dqid.chart.AxisData<Abscissa,Ordinate>
- Type Parameters:
Abscissa
- Represents the type of the abscissa (the x axis).
Supported types are Date and numerical types (subclasses of the Number class. e.g: Integer, Double, Float...).Ordinate
- Represents the type of the ordinate (the y axis).
Supported types are the same as the abscissa plus the Boolean type.Note: When using the Date type the ticks that annotate the axis show only the day, month and year. It is possible when using the same date but with different hours or for dates that are close to each other for the points to be distinct but annotated with the same date.
Represents the data for a line chart or a bar chart.
It contains multiple data points on a single axis.
It contains multiple data points on a single axis.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.orchestranetworks.addon.dqid.chart.AbstractAxisData
setAbscissaLabel, setOrdinateLabel
-
Constructor Details
-
AxisData
The constructor for the axis data.The reason class parameters are required is because Java does not persist type information at runtime.
This class is used to automatically set the appropriate axis options, and also perform a validation check in case of unsupported types.
- Parameters:
abscissaClass
- the class representing the x axis typeordinateClass
- the class representing the y axis type
-
-
Method Details
-
addLine
Adds a line to the current axis.- See Also:
-