DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting
Class PercentageDataLabel

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.XYDataLabel
      extended by com.cete.dynamicpdf.pageelements.charting.PercentageDataLabel
Direct Known Subclasses:
BarColumnPercentageDataLabel

public class PercentageDataLabel
extends XYDataLabel

This class represents percentage data label.

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

View Example


Constructor Summary
PercentageDataLabel(boolean showValue)
          Initializes a new instance of the PercentageDataLabel class.
PercentageDataLabel(boolean showValue, boolean showSeries)
          Initializes a new instance of the PercentageDataLabel class.
PercentageDataLabel(boolean showValue, boolean showPosition, boolean showSeries)
          Initializes a new instance of the PercentageDataLabel class.
PercentageDataLabel(boolean showValue, boolean showPercentage, boolean showPosition, boolean showSeries)
          Initializes a new instance of the PercentageDataLabel class.
PercentageDataLabel(Font font, float fontSize, Color color, boolean showValue)
          Initializes a new instance of the PercentageDataLabel class.
 
Method Summary
 boolean getShowPercentage()
          Gets visible status of the series value as a percentage.
 boolean getShowPosition()
          Gets visible status for the position of the series value.
 boolean getShowSeries()
          Gets visible status of the series name.
 boolean getShowValue()
          Gets visible status of the series value.
 void setShowPercentage(boolean showPercentage)
          Sets visible status of the series value as a percentage.
 void setShowPosition(boolean showPosition)
          Sets visible status for the position of the series value.
 void setShowSeries(boolean showSeries)
          Sets visible status of the series name.
 void setShowValue(boolean showValue)
          Sets visible status of the series value.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.XYDataLabel
getAlign, getAngle, getColor, getFont, getFontSize, getPadding, getPosition, getPrefix, getSeparator, getSeperator, getSuffix, getWidth, getWrapText, setAlign, setAngle, setColor, setFont, setFontSize, setPadding, setPosition, setPrefix, setSeparator, setSeperator, setSuffix, setWidth, setWrapText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PercentageDataLabel

public PercentageDataLabel(boolean showValue)
Initializes a new instance of the PercentageDataLabel class.

Parameters:
showValue - boolean value indicating visible status of the series value.

PercentageDataLabel

public PercentageDataLabel(boolean showValue,
                           boolean showSeries)
Initializes a new instance of the PercentageDataLabel class.

Parameters:
showValue - boolean value indicating visible status of the series value.
showSeries - boolean value indicating visible status of the series name.

PercentageDataLabel

public PercentageDataLabel(boolean showValue,
                           boolean showPosition,
                           boolean showSeries)
Initializes a new instance of the PercentageDataLabel class.

Parameters:
showValue - boolean value indicating visible status of the series value.
showPosition - boolean value indicating visible status for the position of the series value.
showSeries - boolean value indicating visible status of the series name.

PercentageDataLabel

public PercentageDataLabel(boolean showValue,
                           boolean showPercentage,
                           boolean showPosition,
                           boolean showSeries)
Initializes a new instance of the PercentageDataLabel class.

Parameters:
showValue - boolean value indicating visible status of the series value.
showPercentage - boolean value indicating visible status of the series value in percentage.
showPosition - boolean value indicating visible status for the position of the series value.
showSeries - boolean value indicating visible status of the series name.

PercentageDataLabel

public PercentageDataLabel(Font font,
                           float fontSize,
                           Color color,
                           boolean showValue)
Initializes a new instance of the PercentageDataLabel class.

Parameters:
font - Font of the percentage data label.
fontSize - font size of the percentage data label.
color - Color of the percentage data label.
showValue - boolean value indicating visible status of the series value.
Method Detail

getShowValue

public boolean getShowValue()
Gets visible status of the series value. By default it is false.

Returns:
visible status of the series value.

setShowValue

public void setShowValue(boolean showValue)
Sets visible status of the series value. By default it is false.

Parameters:
showValue - boolean value to set visible status of the series value.

getShowPercentage

public boolean getShowPercentage()
Gets visible status of the series value as a percentage. By default it is false.

Returns:
visible status of the series value as a percentage.

setShowPercentage

public void setShowPercentage(boolean showPercentage)
Sets visible status of the series value as a percentage. By default it is false.

Parameters:
showPercentage - boolean value to set the visible status of the series value as a percentage.

getShowPosition

public boolean getShowPosition()
Gets visible status for the position of the series value. By default it is false.

Returns:
visible status of the series position value.

setShowPosition

public void setShowPosition(boolean showPosition)
Sets visible status for the position of the series value. By default it is false.

Parameters:
showPosition - to set the visible status for the position of the series value.

getShowSeries

public boolean getShowSeries()
Gets visible status of the series name. By default it is false.

Returns:
visible status of the series name.

setShowSeries

public void setShowSeries(boolean showSeries)
Sets visible status of the series name. By default it is false.

Parameters:
showSeries - to set the visible status of the series name.

DynamicPDF by ceTe Software

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