DynamicPDF by ceTe Software

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

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.PercentageXAxis

public class PercentageXAxis
extends XAxis

This class can be used to place percentage 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
PercentageXAxis()
          Initializes a new instance of PercentageXAxis class.
PercentageXAxis(float offset)
          Initializes a new instance of PercentageXAxis 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.
 PercentageXAxisLabelList getLabels()
          Gets the PercentageXAxisLabelList object contained in the percentage xAxis.
 float getMax()
          Gets the maximum value of the percentage xAxis.
 float getMin()
          Gets the minimum value of the percentage xAxis.
 void setInterval(float interval)
          Sets the interval of the axis.
 void setMax(float maxValue)
          Sets the maximum value of the percentage xAxis.
 void setMin(float minValue)
          Sets the minimum value of the percentage xAxis.
 
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

PercentageXAxis

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


PercentageXAxis

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

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

getMin

public float getMin()
Gets the minimum value of the percentage xAxis.

Returns:
float The minimum value of the percentage xAxis.

setMin

public void setMin(float minValue)
Sets the minimum value of the percentage xAxis.

Parameters:
minValue - the float value used to set minimum value of the percentage xAxis.

getMax

public float getMax()
Gets the maximum value of the percentage xAxis.

Returns:
float The maximum value of the percentage xAxis.

setMax

public void setMax(float maxValue)
Sets the maximum value of the percentage xAxis.

Parameters:
maxValue - the float value used to set maximum value of the percentage xAxis.

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 PercentageXAxisLabelList getLabels()
Gets the PercentageXAxisLabelList object contained in the percentage xAxis.

Returns:
the labels list.
See Also:
PercentageXAxisLabelList

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