ChartDirector
Class PieChart

java.lang.Object
  |
  +--ChartDirector.BaseChart
        |
        +--ChartDirector.PieChart

public class PieChart
extends BaseChart


Constructor Summary
PieChart(int width, int height)
           
PieChart(int width, int height, int bgColor)
           
PieChart(int width, int height, int bgColor, int edgeColor)
           
PieChart(int width, int height, int bgColor, int edgeColor, int raisedEffect)
           
 
Method Summary
 Sector getSector(int sectorNo)
           
 Sector sector(int sectorNo)
           
 void set3D()
           
 void set3D(double[] depths)
           
 void set3D(double[] depths, double angle)
           
 void set3D(double[] depths, double angle, boolean shadowMode)
           
 void set3D(int depth)
           
 void set3D(int depth, double angle)
           
 void set3D(int depth, double angle, boolean shadowMode)
           
 void set3D2(double[] depths)
           
 void set3D2(double[] depths, double angle)
           
 void set3D2(double[] depths, double angle, boolean shadowMode)
           
 void setData(double[] data)
           
 void setData(double[] data, java.lang.String[] labels)
           
 void setDonutSize(int x, int y, int r, int r2)
           
 void setExplode()
           
 void setExplode(int sectorNo)
           
 void setExplode(int sectorNo, int distance)
           
 void setExplodeGroup(int startSector, int endSector)
           
 void setExplodeGroup(int startSector, int endSector, int distance)
           
 void setJoinLine(int joinLineColor)
           
 void setJoinLine(int joinLineColor, int joinLineWidth)
           
 void setLabelFormat(java.lang.String formatString)
           
 void setLabelLayout(int layoutMethod)
           
 void setLabelLayout(int layoutMethod, int pos)
           
 void setLabelLayout(int layoutMethod, int pos, int topBound)
           
 void setLabelLayout(int layoutMethod, int pos, int topBound, int bottomBound)
           
 void setLabelPos(int pos)
           
 void setLabelPos(int pos, int joinLineColor)
           
 TextBox setLabelStyle()
           
 TextBox setLabelStyle(java.lang.String font)
           
 TextBox setLabelStyle(java.lang.String font, double fontSize)
           
 TextBox setLabelStyle(java.lang.String font, double fontSize, int fontColor)
           
 void setLineColor(int edgeColor)
           
 void setLineColor(int edgeColor, int joinLineColor)
           
 void setPieSize(int x, int y, int r)
           
 void setSectorStyle(int shadingMethod)
           
 void setSectorStyle(int shadingMethod, int edgeColor)
           
 void setSectorStyle(int shadingMethod, int edgeColor, int edgeWidth)
           
 void setStartAngle(double startAngle)
           
 void setStartAngle(double startAngle, boolean clockWise)
           
 
Methods inherited from class ChartDirector.BaseChart
addExtraField, addExtraField, addExtraField, addExtraField2, addExtraField2, addLegend, addLegend, addLegend, addLegend, addLegend2, addLegend2, addLegend2, addLine, addLine, addLine, addTable, addText, addText, addText, addText, addText, addText, addText, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle2, addTitle2, addTitle2, addTitle2, addTitle2, addTitle2, adjustBrightness, autoColor, dashLineColor, dashLineColor, enableVectorOutput, formatValue, formatValue, getAbsOffsetX, getAbsOffsetY, getChartMetrics, getColor, getDrawArea, getHeight, getHTMLImageMap, getHTMLImageMap, getHTMLImageMap, getHTMLImageMap, getJsChartModel, getJsChartModel, getLegend, getWidth, gradientColor, gradientColor, gradientColor, gradientColor, gradientColor, gradientColor2, gradientColor2, gradientColor2, gradientColor2, halfColor, initDynamicLayer, layout, layoutLegend, linearGradientColor, linearGradientColor, linearGradientColor, linearGradientColor, linearGradientColor2, linearGradientColor2, makeChart, makeChart, makeChart, makeChart2, makeChart3, makeImage, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeTmpFile, makeTmpFile, makeTmpFile, patternColor, patternColor, patternColor, patternColor, patternColor2, patternColor2, radialGradientColor, radialGradientColor, radialGradientColor, radialGradientColor, radialGradientColor2, radialGradientColor2, recycle, removeDynamicLayer, setAMPM, setAntiAlias, setAntiAlias, setAntiAlias, setBackground, setBackground, setBackground, setBgImage, setBgImage, setBorder, setColor, setColors, setColors, setColors2, setDefaultFonts, setDefaultFonts, setDefaultFonts, setDefaultFonts, setDropShadow, setDropShadow, setDropShadow, setDropShadow, setDropShadow, setFontTable, setMonthNames, setNumberFormat, setNumberFormat, setNumberFormat, setNumberFormat, setOutputOptions, setRoundedFrame, setRoundedFrame, setRoundedFrame, setRoundedFrame, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath2, setSearchPath2, setSearchPath3, setSearchPath3, setSearchPath3, setSearchPath4, setSearchPath5, setSearchPath5, setSize, setThickFrame, setThickFrame, setThickFrame, setThickFrame, setTransparentColor, setWallpaper, setWeekDayNames
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieChart

public PieChart(int width,
                int height,
                int bgColor,
                int edgeColor,
                int raisedEffect)

PieChart

public PieChart(int width,
                int height,
                int bgColor,
                int edgeColor)

PieChart

public PieChart(int width,
                int height,
                int bgColor)

PieChart

public PieChart(int width,
                int height)
Method Detail

setDonutSize

public void setDonutSize(int x,
                         int y,
                         int r,
                         int r2)

setPieSize

public void setPieSize(int x,
                       int y,
                       int r)

set3D

public void set3D(int depth,
                  double angle,
                  boolean shadowMode)

set3D

public void set3D(int depth,
                  double angle)

set3D

public void set3D(int depth)

set3D

public void set3D()

set3D

public void set3D(double[] depths,
                  double angle,
                  boolean shadowMode)

set3D

public void set3D(double[] depths,
                  double angle)

set3D

public void set3D(double[] depths)

set3D2

public void set3D2(double[] depths,
                   double angle,
                   boolean shadowMode)

set3D2

public void set3D2(double[] depths,
                   double angle)

set3D2

public void set3D2(double[] depths)

setStartAngle

public void setStartAngle(double startAngle,
                          boolean clockWise)

setStartAngle

public void setStartAngle(double startAngle)

setExplode

public void setExplode(int sectorNo,
                       int distance)

setExplode

public void setExplode(int sectorNo)

setExplode

public void setExplode()

setExplodeGroup

public void setExplodeGroup(int startSector,
                            int endSector,
                            int distance)

setExplodeGroup

public void setExplodeGroup(int startSector,
                            int endSector)

setLabelFormat

public void setLabelFormat(java.lang.String formatString)

setLabelStyle

public TextBox setLabelStyle(java.lang.String font,
                             double fontSize,
                             int fontColor)

setLabelStyle

public TextBox setLabelStyle(java.lang.String font,
                             double fontSize)

setLabelStyle

public TextBox setLabelStyle(java.lang.String font)

setLabelStyle

public TextBox setLabelStyle()

setLabelPos

public void setLabelPos(int pos,
                        int joinLineColor)

setLabelPos

public void setLabelPos(int pos)

setLabelLayout

public void setLabelLayout(int layoutMethod,
                           int pos,
                           int topBound,
                           int bottomBound)

setLabelLayout

public void setLabelLayout(int layoutMethod,
                           int pos,
                           int topBound)

setLabelLayout

public void setLabelLayout(int layoutMethod,
                           int pos)

setLabelLayout

public void setLabelLayout(int layoutMethod)

setJoinLine

public void setJoinLine(int joinLineColor,
                        int joinLineWidth)

setJoinLine

public void setJoinLine(int joinLineColor)

setLineColor

public void setLineColor(int edgeColor,
                         int joinLineColor)

setLineColor

public void setLineColor(int edgeColor)

setSectorStyle

public void setSectorStyle(int shadingMethod,
                           int edgeColor,
                           int edgeWidth)

setSectorStyle

public void setSectorStyle(int shadingMethod,
                           int edgeColor)

setSectorStyle

public void setSectorStyle(int shadingMethod)

setData

public void setData(double[] data,
                    java.lang.String[] labels)

setData

public void setData(double[] data)

sector

public Sector sector(int sectorNo)

getSector

public Sector getSector(int sectorNo)