DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting.axes
Class NumericXAxis

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.Axis
      extended by com.cete.dynamicpdf.pageelements.charting.axes.XAxis
          extended by com.cete.dynamicpdf.pageelements.charting.axes.NumericXAxis

public class NumericXAxis
extends XAxis

This class can be used to place numeric x-axis on the plot area.

Licensing:
This is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Constructor Summary
NumericXAxis()
          Initializes a new instance of NumericXAxis class.
NumericXAxis(float offset)
          Initializes a new instance of NumericXAxis class.
 
Method Summary
 float calculateMaxValue()
          Gets the calculated maximum value.
 float calculateMinValue()
          Gets the calculated minimum value.
 float getInterval()
          Gets the interval of the axis.
 NumericXAxisLabelList getLabels()
          Gets the NumericXAxisLabelList object contained in the numeric x-axis.
 float getMax()
          Gets the maximum value of the numeric x-axis.
 float getMin()
          Gets the minimum value of the numeric x-axis.
 void setInterval(float interval)
          Sets the interval of the axis.
 void setMax(float maxValue)
          Sets the maximum value of the numeric x-axis.
 void setMin(float minValue)
          Sets the minimum value of the numeric x-axis.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.axes.XAxis
getAnchorType, getLabelPosition, getMajorGridLines, getMajorTickMarks, getMinorGridLines, getMinorTickMarks, getTitlePosition, getTitles, setAnchorType, setLabelPosition, setMajorGridLines, setMajorTickMarks, setMinorGridLines, setMinorTickMarks, setTitlePosition
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.Axis
getLabelFormat, getLabelOffset, getLineColor, getLineStyle, getLineWidth, getOffset, isVisible, setLabelFormat, setLabelOffset, setLineColor, setLineStyle, setLineWidth, setOffset, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericXAxis

public NumericXAxis()
Initializes a new instance of NumericXAxis class.


NumericXAxis

public NumericXAxis(float offset)
Initializes a new instance of NumericXAxis class.

Parameters:
offset - Offset from the border of plot area.
Method Detail

getMin

public float getMin()
Gets the minimum value of the numeric x-axis.

Returns:
float The minimum value of the numeric x-axis.

setMin

public void setMin(float minValue)
Sets the minimum value of the numeric x-axis.

Parameters:
minValue - the float value used to set minimum value of the numeric x-axis.

getMax

public float getMax()
Gets the maximum value of the numeric x-axis.

Returns:
float The maximum value of the numeric x-axis.

setMax

public void setMax(float maxValue)
Sets the maximum value of the numeric x-axis.

Parameters:
maxValue - the float value used to set maximum value of the numeric x-axis.

getInterval

public float getInterval()
Gets the interval of the axis.

Returns:
the float value specifying the interval of the axis.

setInterval

public void setInterval(float interval)
Sets the interval of the axis.

Parameters:
interval - float used to set interval of the axis.

getLabels

public NumericXAxisLabelList getLabels()
Gets the NumericXAxisLabelList object contained in the numeric x-axis.

Returns:
the labels list.
See Also:
NumericXAxisLabelList

calculateMinValue

public float calculateMinValue()
Gets the calculated minimum value.

Returns:
the minimum value.

calculateMaxValue

public float calculateMaxValue()
Gets the calculated maximum value.

Returns:
the maximum value.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software