|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.ChartTypeInfo
jet.report.xls.PieInfo
public class PieInfo
contains the information of pie chart type in the file. The class extends chartTypeInfo
| Field Summary | |
|---|---|
static short |
NORMAL
|
static short |
SHOWLDRLINES
|
| Fields inherited from class jet.report.xls.ChartTypeInfo |
|---|
AREA, BAR, BAR_AREA, BAR_LINE, BOPPOP, COLUMN, CONE, CYLINDER, DROPBAR, LINE, LINE_LINE, PIE, PYRAMID, RADAR, SCATTER, SHOWBUBBLESIZE, SHOWLABEL, SHOWLABPER, SHOWNONE, SHOWPERCENT, SHOWVALUE, STOCK, SURFACE |
| Constructor Summary | |
|---|---|
PieInfo(short dataLabel,
boolean is3D,
Info3D info3D,
short style,
short explodedPercent)
Constructs class PeiInfo and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
short |
getAnStart()
Get the Angle of the first pie slice expressed in degrees |
int |
getChartType()
Get the type of the chart |
short |
getExplodedPercent()
Get the distance of pie slice from center of pie |
short |
getPcDonut()
Get the size of center hole in a donut chart |
short |
getStyle()
Get the style of the pie chart |
boolean |
hasShadow()
get whether this pie has a shadow or not |
void |
setAnstart(short anStart)
Set Angle of the first pie slice expressed in degrees |
void |
setExplodedPercent(short explodedPercent)
Set the distance of pie slice from center of pie |
void |
setHasShadow(boolean b)
set whether this pie has a shadow or not if the chart is 3D, it can not set shadow |
void |
setPcDonut(short pcDonut)
Set the size of center hole in a donut chart |
void |
setStyle(short style)
Set the style of the pie chart |
| Methods inherited from class jet.report.xls.ChartTypeInfo |
|---|
addSeries, getCatName, getCatNameRef, getDataLabel, getInfo3D, getIs3D, getSeries, getSeriesSize, insertSeries, removeSeries, replace, setCatName, setCatNameRef, setDataLabel, setInfo3D, setIs3D |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short NORMAL
public static final short SHOWLDRLINES
| Constructor Detail |
|---|
public PieInfo(short dataLabel,
boolean is3D,
Info3D info3D,
short style,
short explodedPercent)
dataLabel - type of the data label, 0 for none, 1 for show value, 2 for show percent, 22 for show label and percent, 16 for show labelis3D - Is 3D chart or notstyle - Style of pie chart, NORMAL or SHOWLDRLINESexplodedPercent - Distance of pie slice from center of pie| Method Detail |
|---|
public int getChartType()
getChartType in class ChartTypeInfopublic short getAnStart()
public void setAnstart(short anStart)
anStart - Angle of the first pie slice expressed in degreespublic short getPcDonut()
public void setPcDonut(short pcDonut)
pcDonut - 0=true pie chart, non-zero=size of center hole in a donut chartpublic short getStyle()
getStyle in class ChartTypeInfoNORMAL,
SHOWLDRLINESpublic void setStyle(short style)
style - Style of the pie chartNORMAL,
SHOWLDRLINESpublic short getExplodedPercent()
public void setExplodedPercent(short explodedPercent)
explodedPercent - Distance of pie slice from center of piepublic boolean hasShadow()
hasShadow in class ChartTypeInfopublic void setHasShadow(boolean b)
b - - whether this pie has a shadow or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||