|
|||||||||
| 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.BarInfo
public class BarInfo
contains the information of bar chart type in the file. The class extends chartTypeInfo
| Field Summary | |
|---|---|
static short |
F100STACKED
|
static short |
NORMAL
|
static short |
STACKED
|
| 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 | |
|---|---|
BarInfo(short dataLabel,
boolean is3D,
Info3D info3D,
short style)
Constructs class BarInfo and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
int |
getChartType()
Get the type of the chart |
short |
getSpbBars()
Get the space between bars |
short |
getSpbCats()
Get the space between categories |
short |
getStyle()
Get the style of the bar chart |
boolean |
hasShadow()
get whether this bar has a shadow or not |
void |
setHasShadow(boolean b)
set whether this bar has a shadow or not if the chart is 3D, it can not set shadow |
void |
setSpbBars(short spbBars)
Set the space between bars |
void |
setSpbCats(short spbCats)
Set the space between categories |
void |
setStyle(short style)
Set the style of the bar 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 STACKED
public static final short F100STACKED
| Constructor Detail |
|---|
public BarInfo(short dataLabel,
boolean is3D,
Info3D info3D,
short style)
dataLabel - type of the data label, 0 for none, 1 for show value, 16 for show labelis3D - Is 3D chart or notstyle - Style of bar, please see NORMAL, STACKED, F100STACKED.| Method Detail |
|---|
public int getChartType()
getChartType in class ChartTypeInfopublic short getSpbBars()
public void setSpbBars(short spbBars)
spbBars - Space between barspublic short getSpbCats()
public void setSpbCats(short spbCats)
spbBars - Space between categoriespublic short getStyle()
getStyle in class ChartTypeInfoNORMAL,
STACKED,
F100STACKEDpublic void setStyle(short style)
style - Style of the bar chartNORMAL,
STACKED,
F100STACKEDpublic boolean hasShadow()
hasShadow in class ChartTypeInfopublic void setHasShadow(boolean b)
b - - whether this bar has a shadow or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||