public class DataAxis extends Axis implements HTMLTestable
| Modifier and Type | Field and Description |
|---|---|
private double |
increment
Deprecated.
|
private double |
maxValue
Deprecated.
|
private double |
minValue
Deprecated.
|
protected float |
zeroLineCoordinate
Deprecated.
|
| Constructor and Description |
|---|
DataAxis(AxisChart axisChart)
Deprecated.
this class is no longer used
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTextTags()
Deprecated.
Add all text labels to be display on this axis.
|
protected boolean |
amDataAxis()
Deprecated.
|
protected boolean |
amLabelAxis()
Deprecated.
|
(package private) float |
computeAxisCoordinate(double value)
Deprecated.
Takes a value and determines the screen coordinate it should be drawn at.
|
(package private) void |
computeScaleIncrement(AxisChartDataProcessor axisChartDataProcessor)
Deprecated.
Calculates the axis scale increment.
|
double |
getMaxValue()
Deprecated.
Returns the MAX value plotted by the axis.
|
double |
getMinValue()
Deprecated.
Returns the MIN value plotted by the axis.
|
double |
getOneUnitPixelSize()
Deprecated.
Returns the number of pixels one value unit occupies.
|
float |
getZeroLineCoordinate()
Deprecated.
Returns the screen coordinate of the zero line.
|
protected void |
render(Graphics2D graphics2D,
IDataSeries iDataSeries)
Deprecated.
Renders the DataAxis on the passes Graphics2D object
|
private double |
round(double value,
double powerOfTen)
Deprecated.
Rounds the scale increment up by the power of ten specified in the properties.
|
private void |
roundTheIncrement(double powerOfTen)
Deprecated.
Rounds the scale increment up by the power of ten specified in the properties.
|
void |
toHTML(HTMLGenerator htmlGenerator)
Deprecated.
Enables the testing routines to display the contents of this Object.
|
computeAxisTitleDimensions, computeOneUnitPixelSize, computeScalePixelWidth, computeScalePixelWidthDataAxis, getAxisChart, getAxisLabelsGroup, getMinimumHeightNeeded, getMinimumWidthNeeded, getNumberOfScaleItems, getOrigin, getPixelLength, getScaleCalculator, getScalePixelWidth, getTickStart, getTitleHeight, getTitleWidth, setAxisLabelsGroup, setMinimumHeightNeeded, setMinimumWidthNeeded, setOneUnitPixelSize, setOrigin, setPixelLength, setScaleCalculator, setScalePixelWidth, setTickStart, setZeroLineCoordinateprivate double minValue
private double maxValue
private double increment
protected float zeroLineCoordinate
public DataAxis(AxisChart axisChart)
axisChart - protected boolean amDataAxis()
protected boolean amLabelAxis()
public void addTextTags()
void computeScaleIncrement(AxisChartDataProcessor axisChartDataProcessor)
axisChartDataProcessor - need to get the min/maxprivate double round(double value,
double powerOfTen)
value - the value to roundpowerOfTen - the product of 10 times the rounding property.private void roundTheIncrement(double powerOfTen)
powerOfTen - the value of 10 times the rounding property.public float getZeroLineCoordinate()
getZeroLineCoordinate in class Axisfloat computeAxisCoordinate(double value)
value - public double getMaxValue()
public double getMinValue()
public double getOneUnitPixelSize()
getOneUnitPixelSize in class Axisprotected void render(Graphics2D graphics2D, IDataSeries iDataSeries)
graphics2D - iDataSeries - public void toHTML(HTMLGenerator htmlGenerator)
toHTML in interface HTMLTestabletoHTML in class AxishtmlGenerator -