|
|||||||||
| 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.ScatterInfo
public class ScatterInfo
contains the information of Scatter chart type in the file. The class extends chartTypeInfo
| Field Summary | |
|---|---|
static short |
BUBBLES
|
static short |
NORMAL
|
static short |
SHOWNEGBUBBLES
|
| 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 | |
|---|---|
ScatterInfo(short dataLabel,
boolean is3D,
Info3D info3D,
short style)
Constructs class ScatterInfo and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
void |
addSeries(Series2VInfo seriesInfo)
Add a Series2VInfo into the ArrayList series, for normal scatter chart |
void |
addSeries(Series3VInfo seriesInfo)
Add a Series3VInfo into the ArrayList series, for bubbles chart |
void |
addSeries(SeriesInfo info)
If add a SeriesInfo into the ArrayList series, system will return a exception information The scatter chart only support input Series2VInfo value. |
short |
getBubbleRatio()
Get Percent of largest bubble compared to chart in general |
short |
getBubbleSize()
Get Bubble size: 1=bubble size is area, 2=bubble size is width |
int |
getChartType()
Get the type of the chart |
short |
getStyle()
Get the style of the Scatter chart see param NORMAL see param BUBBLES see param SHOWNEGBUBBLES |
boolean |
hasLine()
Get the data point of scatter connected by line or not |
boolean |
hasShadow()
get whether this bubble has a shadow or not |
void |
insertSeries(int index,
Series2VInfo info)
Insert a Series2VInfo into the ArrayList series, for normal scatter chart |
void |
insertSeries(int index,
Series3VInfo info)
Insert a Series3VInfo into the ArrayList series, for bubbles chart |
void |
insertSerires(int index,
SeriesInfo info)
If insert a SeriesInfo into the ArrayList series, system will return a exception information |
boolean |
isSmoothLine()
Get is smooth line or not |
void |
setBubbleRatio(short bubbleRatio)
Set Percent of largest bubble compared to chart in general |
void |
setBubbleSize(short bubbleSize)
Set Bubble size: 1=bubble size is area, 2=bubble size is width |
void |
setHasLine(boolean hasLine)
Set the data point of scatter connected by line or not |
void |
setHasShadow(boolean b)
set whether this bubble has a shadow or not if the chart is 3D, it can not set shadow |
void |
setSmoothLine(boolean isSmoothLine)
Set smooth line or not |
void |
setStyle(short style)
Set the style of the Scatter chart see param NORMAL see param BUBBLES see param SHOWNEGBUBBLES |
| Methods inherited from class jet.report.xls.ChartTypeInfo |
|---|
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 BUBBLES
public static final short SHOWNEGBUBBLES
| Constructor Detail |
|---|
public ScatterInfo(short dataLabel,
boolean is3D,
Info3D info3D,
short style)
dataLabel - type of the data label, 0 for none, 1 for show value, 16 for show label, 0X20 forSHOWBUBBLESIZEis3D - Is 3D chart or notstyle - Style of scatter chart, NORMAL, BUBBLES or SHOWNEGBUBBLES| Method Detail |
|---|
public int getChartType()
getChartType in class ChartTypeInfopublic short getBubbleRatio()
public void setBubbleRatio(short bubbleRatio)
bubbleRatio - Percent of largest bubble compared to chart in generalpublic short getBubbleSize()
public void setBubbleSize(short bubbleSize)
bubbleSize - Bubble size: 1=bubble size is area, 2=bubble size is widthpublic short getStyle()
getStyle in class ChartTypeInfopublic void setStyle(short style)
style - Style of the Scatter chartpublic boolean isSmoothLine()
public void setSmoothLine(boolean isSmoothLine)
isSmoothLine - is smooth line or notpublic boolean hasLine()
public void setHasLine(boolean hasLine)
hasLine - has line or notpublic void addSeries(Series2VInfo seriesInfo)
seriesInfo - the Series2VInfo to be addedpublic void addSeries(Series3VInfo seriesInfo)
seriesInfo - the Series3VInfo to be addedpublic void addSeries(SeriesInfo info)
addSeries in class ChartTypeInfoseriesInfo - the SeriesInfo to be added
public void insertSeries(int index,
Series2VInfo info)
seriesInfo - the SeriesInfo to be insertedindex - The index of the seriesInfo to be inserted into the Arraylist
public void insertSeries(int index,
Series3VInfo info)
seriesInfo - the Series3VInfo to be insertedindex - The index of the seriesInfo to be inserted into the Arraylist
public void insertSerires(int index,
SeriesInfo info)
seriesInfo - the SeriesInfo to be addedpublic boolean hasShadow()
hasShadow in class ChartTypeInfopublic void setHasShadow(boolean b)
b - - whether this bubble has a shadow or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||