DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.charting.series
Class PieSeriesElement

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.charting.PlotAreaElement
      extended by com.cete.dynamicpdf.pageelements.charting.series.SeriesElement
          extended by com.cete.dynamicpdf.pageelements.charting.series.PieSeriesElement

public class PieSeriesElement
extends SeriesElement

This class represents a pie series element.

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

View Example


Constructor Summary
PieSeriesElement(float value1)
          Initializes a new instance of the PieSeriesElement class.
PieSeriesElement(float value1, ScalarDataLabel scalarDataLabel)
          Initializes a new instance of the PieSeriesElement class.
PieSeriesElement(float value1, java.lang.String name)
          Initializes a new instance of the PieSeriesElement class.
PieSeriesElement(float value1, java.lang.String name, Color color)
          Initializes a new instance of the PieSeriesElement class.
PieSeriesElement(float value1, java.lang.String name, Color color, Legend legend)
          Initializes a new instance of the PieSeriesElement class.
 
Method Summary
 Color getBorderColor()
          Gets the Color object to use for the borders of the pie series element.
 float getBorderWidth()
          Gets the border width of the pie series element.
 ScalarDataLabel getDataLabel()
          Gets the ScalarDataLabel object to use for the data label of the pie series element.
 float getExplodeLength()
          Gets the explode length of the pie series element.
 float getValue()
          Gets the value1 of the pie series element.
 void setBorderColor(Color value)
          Sets the Color object to use for the borders of the pie series element.
 void setBorderWidth(float value)
          Sets the border width of the pie series element.
 void setDataLabel(ScalarDataLabel scalarDataLabel)
          Sets the ScalarDataLabel object to use for the data label of the pie series element.
 void setExplodeLength(float value)
          Sets the explode length of the pie series element.
 void setValue(float value)
          Sets the value of the pie series element.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.series.SeriesElement
getColor, getLegendLabel, getName, setColor
 
Methods inherited from class com.cete.dynamicpdf.pageelements.charting.PlotAreaElement
getLegend, getPlotArea, setLegend, setPlotArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieSeriesElement

public PieSeriesElement(float value1)
Initializes a new instance of the PieSeriesElement class.

Parameters:
value1 - Value of the pie series element.

PieSeriesElement

public PieSeriesElement(float value1,
                        java.lang.String name)
Initializes a new instance of the PieSeriesElement class.

Parameters:
value1 - Value of the pie series element.
name - Name of the pie series element.

PieSeriesElement

public PieSeriesElement(float value1,
                        java.lang.String name,
                        Color color)
Initializes a new instance of the PieSeriesElement class.

Parameters:
value1 - Value of the pie series element.
name - Name of the pie series element.
color - Color of the pie series element.

PieSeriesElement

public PieSeriesElement(float value1,
                        java.lang.String name,
                        Color color,
                        Legend legend)
Initializes a new instance of the PieSeriesElement class.

Parameters:
value1 - Value of the pie series element.
name - Name of the pie series element.
color - Color of the pie series element.
legend - Legend of the pie series element.
See Also:
Legend

PieSeriesElement

public PieSeriesElement(float value1,
                        ScalarDataLabel scalarDataLabel)
Initializes a new instance of the PieSeriesElement class.

Parameters:
value1 - Value of the pie series element.
scalarDataLabel - ScalarDataLabel of the pie series element.
See Also:
ScalarDataLabel
Method Detail

getValue

public float getValue()
Gets the value1 of the pie series element.

Returns:
the float value1 of the pie series element.

setValue

public void setValue(float value)
Sets the value of the pie series element.

Parameters:
value - the float used to set value1 of the pie series element.

getBorderWidth

public float getBorderWidth()
Gets the border width of the pie series element.

Returns:
the float border width of the pie series element.

setBorderWidth

public void setBorderWidth(float value)
Sets the border width of the pie series element.

Parameters:
value - the float used to set border width of the pie series element.

getBorderColor

public Color getBorderColor()
Gets the Color object to use for the borders of the pie series element.

Returns:
the border color of the pie series element.
See Also:
Color

setBorderColor

public void setBorderColor(Color value)
Sets the Color object to use for the borders of the pie series element.

Parameters:
value - to set the border color of the pie series element.
See Also:
Color

getExplodeLength

public float getExplodeLength()
Gets the explode length of the pie series element.

Returns:
the float explode length of the pie series element.

setExplodeLength

public void setExplodeLength(float value)
Sets the explode length of the pie series element.

Parameters:
value - the float used to set explode length of the pie series element.

getDataLabel

public ScalarDataLabel getDataLabel()
Gets the ScalarDataLabel object to use for the data label of the pie series element.

Returns:
the data label of the pie series element.
See Also:
ScalarDataLabel

setDataLabel

public void setDataLabel(ScalarDataLabel scalarDataLabel)
Sets the ScalarDataLabel object to use for the data label of the pie series element.

Parameters:
scalarDataLabel - to set the data label for the pie series element.
See Also:
ScalarDataLabel

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software