|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.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
Represents 100% Stacked Bar Chart. |
static short |
NORMAL
Represents Normal Bar Chart. |
static short |
STACKED
Represents Stacked Bar Chart. |
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()
Gets the type of the chart. |
short |
getSpbBars()
Gets the space between bars. |
short |
getSpbCats()
Gets the space between categories. |
short |
getStyle()
Gets the style of the bar chart. |
boolean |
hasShadow()
Gets whether this bar has a shadow or not. |
void |
setHasShadow(boolean b)
Sets whether this bar has a shadow or not. |
void |
setSpbBars(short spbBars)
Sets the space between bars. |
void |
setSpbCats(short spbCats)
Sets the space between categories. |
void |
setStyle(short style)
Sets 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, setCatNameRef, setDataLabel, setInfo3D, setIs3D, setIsPercentDataLabel, setIsShowY2, setIsShowYAxis |
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. See ChartTypeInfo.SHOWNONE
, ChartTypeInfo.SHOWVALUE
and ChartTypeInfo.SHOWLABEL
.is3D
- is 3D chart or notinfo3D
- the 3D chart infostyle
- style of bar, please see NORMAL
, STACKED
and F100STACKED
.Method Detail |
---|
public int getChartType()
getChartType
in class ChartTypeInfo
public short getSpbBars()
public void setSpbBars(short spbBars)
spbBars
- space between barspublic short getSpbCats()
public void setSpbCats(short spbCats)
spbCats
- space between categoriespublic short getStyle()
NORMAL
STACKED
F100STACKED
getStyle
in class ChartTypeInfo
public void setStyle(short style)
NORMAL
STACKED
F100STACKED
style
- style of the bar chartpublic boolean hasShadow()
hasShadow
in class ChartTypeInfo
public void setHasShadow(boolean b)
b
- - true if this bar has a shadow
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |