DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting
Class XYDataLabel

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

public abstract class XYDataLabel
extends java.lang.Object

Base class from which data labels are derived.

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


Constructor Summary
XYDataLabel()
           
 
Method Summary
 DataLabelAlign getAlign()
          Gets the alignment of the data label.
 float getAngle()
          Gets the angle of the data label.
 Color getColor()
          Gets the Color object to use for the color of the xy data label.
 Font getFont()
          Gets the Font object to use for the font of the xy data label.
 float getFontSize()
          Gets the font size of the xy data label.
 float getPadding()
          Gets the space between the x and y intersection point and data label.
 DataLabelPosition getPosition()
          Gets the DataLabelPosition object to use for the positoin of the data label.
 java.lang.String getPrefix()
          Gets the prefix of the xy data label.
 java.lang.String getSeparator()
          Gets the separator of the xy data label.
 java.lang.String getSeperator()
          Deprecated. as of DynamicPDF v8.0.0 replaced by getSeparator()
 java.lang.String getSuffix()
          Gets the suffix of the xy data label.
 float getWidth()
          Gets the width of the data label.
 boolean getWrapText()
          Gets the text wrapping of the data label.
 void setAlign(DataLabelAlign align)
          Sets the alignment of the data label.
 void setAngle(float value)
          Sets the angle of the data label.
 void setColor(Color color)
          Sets the Color object to use for the color of the xy data label.
 void setFont(Font font)
          Sets the Font object to use for the font of the xy data label.
 void setFontSize(float fontSize)
          Sets the font size of the xy data label.
 void setPadding(float value)
          Sets the space between the x and y intersection point and data label.
 void setPosition(DataLabelPosition dataLabelPosition)
          Sets the DataLabelPosition object to use for the positoin of the data label.
 void setPrefix(java.lang.String prefix)
          Sets the prefix of the xy data label.
 void setSeparator(java.lang.String value)
          Sets the separator of the xy data label.
 void setSeperator(java.lang.String value)
          Deprecated. as of DynamicPDF v8.0.0 replaced by setSeparator(String value)
 void setSuffix(java.lang.String suffix)
          Sets the suffix of the xy data label.
 void setWidth(float width)
          Sets the width of the data label.
 void setWrapText(boolean value)
          Sets the text wrapping of the data label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XYDataLabel

public XYDataLabel()
Method Detail

getFont

public Font getFont()
Gets the Font object to use for the font of the xy data label.

Returns:
the font of the data label.
See Also:
Font

setFont

public void setFont(Font font)
Sets the Font object to use for the font of the xy data label.

Parameters:
font - Font object to use for the font of the xy data label.
See Also:
Font

getFontSize

public float getFontSize()
Gets the font size of the xy data label.

Returns:
the float value specifying font size of the xy data label.

setFontSize

public void setFontSize(float fontSize)
Sets the font size of the xy data label.

Parameters:
fontSize - the float value used to set font size of the xy data label.

getWidth

public float getWidth()
Gets the width of the data label.

Returns:
float The width of the data label.

setWidth

public void setWidth(float width)
Sets the width of the data label.

Parameters:
width - The width of the data label.

getAlign

public DataLabelAlign getAlign()
Gets the alignment of the data label.

Returns:
DataLabelAlign The alignment of the data label.

setAlign

public void setAlign(DataLabelAlign align)
Sets the alignment of the data label.

Parameters:
align - The alignment of the data label.

getPosition

public DataLabelPosition getPosition()
Gets the DataLabelPosition object to use for the positoin of the data label.

Returns:
DataLabelPosition The DataLabelPosition object to use for the positoin of the data label.

setPosition

public void setPosition(DataLabelPosition dataLabelPosition)
Sets the DataLabelPosition object to use for the positoin of the data label.

Parameters:
dataLabelPosition - The DataLabelPosition object to use for the positoin of the data label.

getPadding

public float getPadding()
Gets the space between the x and y intersection point and data label.

Returns:
float The space between the x and y intersection point and data label.

setPadding

public void setPadding(float value)
Sets the space between the x and y intersection point and data label.

Parameters:
value - The space between the x and y intersection point and data label.

getAngle

public float getAngle()
Gets the angle of the data label.

Returns:
float The angle of the data label.

setAngle

public void setAngle(float value)
Sets the angle of the data label.

Parameters:
value - The angle of the data label.

getWrapText

public boolean getWrapText()
Gets the text wrapping of the data label.

Returns:
boolean The text wrapping of the data label.

setWrapText

public void setWrapText(boolean value)
Sets the text wrapping of the data label.

Parameters:
value - The text wrapping of the data label.

getColor

public Color getColor()
Gets the Color object to use for the color of the xy data label.

Returns:
the color of the data label.
See Also:
Color

setColor

public void setColor(Color color)
Sets the Color object to use for the color of the xy data label.

Parameters:
color - Color object to use for the color of the xy data label.
See Also:
Color

getSuffix

public java.lang.String getSuffix()
Gets the suffix of the xy data label.

Returns:
the suffix of the data label.

setSuffix

public void setSuffix(java.lang.String suffix)
Sets the suffix of the xy data label.

Parameters:
suffix - to set the suffix of the xy data label.

getPrefix

public java.lang.String getPrefix()
Gets the prefix of the xy data label.

Returns:
the prefix of the data label.

setPrefix

public void setPrefix(java.lang.String prefix)
Sets the prefix of the xy data label.

Parameters:
prefix - to set the prefix of the xy data label.

getSeperator

public java.lang.String getSeperator()
Deprecated. as of DynamicPDF v8.0.0 replaced by getSeparator()

Gets the separator of the xy data label.

Returns:
the separator of the data label.

setSeperator

public void setSeperator(java.lang.String value)
Deprecated. as of DynamicPDF v8.0.0 replaced by setSeparator(String value)

Sets the separator of the xy data label.

Parameters:
value - string object to set the separator of the xy data label.

getSeparator

public java.lang.String getSeparator()
Gets the separator of the xy data label.

Returns:
the separator of the data label.

setSeparator

public void setSeparator(java.lang.String value)
Sets the separator of the xy data label.

Parameters:
value - string object to set the separator of the xy data label.

DynamicPDF by ceTe Software

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