DynamicPDF by ceTe Software

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

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.Axis
      extended by com.cete.dynamicpdf.pageelements.charting.axes.YAxis
          extended by com.cete.dynamicpdf.pageelements.charting.axes.PercentageYAxis

public class PercentageYAxis
extends YAxis

This class can be used to place percentage y-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
PercentageYAxis()
          Initializes a new instance of PercentageYAxis class.
PercentageYAxis(float offset)
          Initializes a new instance of PercentageYAxis class.
 
Method Summary
 float calculateMaxPercent()
          Gets the calculated maximum percent.
 float calculateMinPercent()
          Gets the calculated minimum percent.
 float getInterval()
          Gets the interval of the axis.
 PercentageYAxisLabelList getLabels()
          Gets the PercentageYAxisLabelList object contained in the percentage y-axis.
 float getMax()
          Gets the maximum value of the percentage y-axis.
 float getMin()
          Gets the minimum value of the percentage y-axis.
 void setInterval(float interval)
          Sets the interval of the axis.
 void setMax(float maxValue)
          Sets the maximum value of the percentage y-axis.
 void setMin(float minValue)
          Sets the minimum value of the percentage y-axis.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.axes.YAxis
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

PercentageYAxis

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


PercentageYAxis

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

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

getMin

public float getMin()
Gets the minimum value of the percentage y-axis.

Returns:
float The minimum value of the percentage y-axis.

setMin

public void setMin(float minValue)
Sets the minimum value of the percentage y-axis.

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

getMax

public float getMax()
Gets the maximum value of the percentage y-axis.

Returns:
float The maximum value of the percentage y-axis.

setMax

public void setMax(float maxValue)
Sets the maximum value of the percentage y-axis.

Parameters:
maxValue - the float value used to set maximum value of the percentage y-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 PercentageYAxisLabelList getLabels()
Gets the PercentageYAxisLabelList object contained in the percentage y-axis.

Returns:
the labels list.
See Also:
PercentageYAxisLabelList

calculateMinPercent

public float calculateMinPercent()
Gets the calculated minimum percent.

Returns:
the minimum percentage.

calculateMaxPercent

public float calculateMaxPercent()
Gets the calculated maximum percent.

Returns:
the maximum percentage.

DynamicPDF by ceTe Software

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