|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jCharts.axisChart.axis.Axis
org.jCharts.axisChart.axis.DataAxis
public class DataAxis
Field Summary | |
---|---|
private double |
increment
Deprecated. |
private double |
maxValue
Deprecated. |
private double |
minValue
Deprecated. |
protected float |
zeroLineCoordinate
Deprecated. |
Constructor Summary | |
---|---|
DataAxis(AxisChart axisChart)
Deprecated. this class is no longer used |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double minValue
private double maxValue
private double increment
protected float zeroLineCoordinate
Constructor Detail |
---|
public DataAxis(AxisChart axisChart)
axisChart
- Method Detail |
---|
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 Axis
float computeAxisCoordinate(double value)
value
-
public double getMaxValue()
public double getMinValue()
public double getOneUnitPixelSize()
getOneUnitPixelSize
in class Axis
protected void render(Graphics2D graphics2D, IDataSeries iDataSeries)
graphics2D
- iDataSeries
- public void toHTML(HTMLGenerator htmlGenerator)
toHTML
in interface HTMLTestable
toHTML
in class Axis
htmlGenerator
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |