|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.report.xls.ChartInfo
public class ChartInfo
Contains the information of chart in the file.
Field Summary | |
---|---|
static short |
MONOCHROIC
The data points have the same color value. |
static short |
VARIED
The colors for the data points are varied. |
Constructor Summary | |
---|---|
ChartInfo()
Creates a ChartInfo object. |
|
ChartInfo(float x,
float y,
float width,
float height,
ChartTypeInfo chartTypeInfo,
ChartLabelInfo xAxisName,
ChartLabelInfo yAxisName,
ChartLabelInfo zAxisName,
ChartLabelInfo chartTitle,
LegendInfo legendInfo,
ChartLocInfo chartLocInfo,
ChartAreaInfo chartAreaInfo,
short chartFormat,
GlobalWorksheet gws)
Constructs class ChartInfo and sets its fields appropriately. |
Method Summary | |
---|---|
ChartAreaInfo |
getChartAreaInfo()
Gets the information of chart area. |
short |
getChartFormat()
Gets chart format 1 for varied color for each data point, 0 for monochroic. |
ChartLocInfo |
getChartLocInfo()
Gets the information of chart location. |
ChartLabelInfo |
getChartTitle()
Gets the title of chart. |
ChartTypeInfo |
getChartTypeInfo()
Gets the information of chart type. |
int |
getFirstAxisSeriesSize()
Gets the series number of the first axis. |
float |
getHeight()
Gets the height of chart. |
LegendInfo |
getLegendInfo()
Gets the information of chart legend. |
ChartPaperInfo |
getPaperInfo()
Gets the information of chart paper. |
int |
getSecondSeriesSize()
Gets the series number of the second axis. |
float |
getWidth()
Gets the width of chart. |
float |
getX()
Gets the x position of chart. |
ChartLabelInfo |
getXAxisName()
Gets the x axis name of chart. |
int |
getXIfmt()
Gets the x axis format index. |
float |
getY()
Gets the y position of chart. |
int |
getY2Ifmt()
Gets the y2 axis format index. |
int |
getY2ScaleUnit()
Gets the y2 axis scale unit. |
ChartLabelInfo |
getYAxisName()
Gets the y axis name of chart. |
int |
getYIfmt()
Gets the y axis format index. |
int |
getYScaleUnit()
Gets the y axis scale unit. |
ChartLabelInfo |
getZAxisName()
Gets the z axis name of chart. |
int |
getZIfmt()
Gets the z axis format index. |
void |
setChartAreaInfo(ChartAreaInfo chartAreaInfo)
Sets the information of chart area. |
void |
setChartFormat(short chartFormat)
Sets chart format 1 for varied color for each data point, 0 for monochroic. |
void |
setChartLocInfo(ChartLocInfo chartLocInfo)
Sets the information of chart location. |
void |
setChartTitle(ChartLabelInfo chartTitle)
Sets the title of chart. |
void |
setChartTypeInfo(ChartTypeInfo chartTypeInfo)
Sets the information of chart type. |
void |
setHeight(float height)
Sets the height of chart. |
void |
setLegendInfo(LegendInfo legendInfo)
Sets the information of chart legend. |
void |
setPaperInfo(ChartPaperInfo paperInfo)
Sets the information of chart paper. |
void |
setWidth(float width)
Sets the width of chart. |
void |
setX(float x)
Sets the x position of chart. |
void |
setXAxisName(ChartLabelInfo xAxisName)
Sets the x axis name of chart. |
void |
setXIfmt(int index)
Sets the x axis format index. |
void |
setY(float y)
Sets the y position of chart. |
void |
setY2Ifmt(int index)
Sets the y2 axis format index. |
void |
setY2ScaleUnit(int scale)
Sets the y2 axis scale unit. |
void |
setYAxisName(ChartLabelInfo yAxisName)
Sets the y axis name of chart. |
void |
setYIfmt(int index)
Sets the y axis format index. |
void |
setYScaleUnit(int scale)
Sets the y axis scale unit. |
void |
setZAxisName(ChartLabelInfo zAxisName)
Sets the z axis name of chart. |
void |
setZIfmt(int index)
Sets the z axis format index. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short MONOCHROIC
public static final short VARIED
Constructor Detail |
---|
public ChartInfo()
ChartInfo
object.
public ChartInfo(float x, float y, float width, float height, ChartTypeInfo chartTypeInfo, ChartLabelInfo xAxisName, ChartLabelInfo yAxisName, ChartLabelInfo zAxisName, ChartLabelInfo chartTitle, LegendInfo legendInfo, ChartLocInfo chartLocInfo, ChartAreaInfo chartAreaInfo, short chartFormat, GlobalWorksheet gws)
x
- the x-position of the upper-left cornery
- the y-position of the upper-left cornerwidth
- width of the chartheight
- height of the chartchartTypeInfo
- the information of the chart typexAxisName
- name of x axisyAxisName
- name of y axiszAxisName
- name of z axischartTitle
- title of the chartlegendInfo
- the information of legendchartLocInfo
- the information of chart locationchartAreaInfo
- the chart area infochartFormat
- identifies if the chart is multicolor or notgws
- the GlobalWorksheet
object
MONOCHROIC
VARIED
Method Detail |
---|
public int getFirstAxisSeriesSize()
public int getSecondSeriesSize()
public void setX(float x)
x
- the x position of chartpublic float getX()
public void setY(float y)
y
- the y position of chartpublic float getY()
public void setWidth(float width)
width
- the width of chartpublic float getWidth()
public void setHeight(float height)
height
- the height of chartpublic float getHeight()
public void setChartTypeInfo(ChartTypeInfo chartTypeInfo)
chartTypeInfo
- the information of chart typepublic ChartTypeInfo getChartTypeInfo()
public ChartLabelInfo getXAxisName()
public void setXAxisName(ChartLabelInfo xAxisName)
xAxisName
- the x axis name of chartpublic ChartLabelInfo getYAxisName()
public void setYAxisName(ChartLabelInfo yAxisName)
yAxisName
- the y axis name of chartpublic ChartLabelInfo getZAxisName()
public void setZAxisName(ChartLabelInfo zAxisName)
zAxisName
- the z axis name of chartpublic ChartLabelInfo getChartTitle()
public void setChartTitle(ChartLabelInfo chartTitle)
chartTitle
- the title of chartpublic void setLegendInfo(LegendInfo legendInfo)
legendInfo
- the information of chart legendpublic LegendInfo getLegendInfo()
public void setChartLocInfo(ChartLocInfo chartLocInfo)
chartLocInfo
- the information of chart locationpublic ChartLocInfo getChartLocInfo()
public void setChartAreaInfo(ChartAreaInfo chartAreaInfo)
chartAreaInfo
- the information of chart areapublic ChartAreaInfo getChartAreaInfo()
public void setPaperInfo(ChartPaperInfo paperInfo)
paperInfo
- the information of chart paperpublic ChartPaperInfo getPaperInfo()
public void setChartFormat(short chartFormat)
chartFormat
- the chart format
MONOCHROIC
VARIED
public short getChartFormat()
MONOCHROIC
VARIED
public void setXIfmt(int index)
index
- the x axis format indexpublic int getXIfmt()
public void setYIfmt(int index)
index
- the y axis format indexpublic int getYIfmt()
public void setY2Ifmt(int index)
index
- the y2 axis format indexpublic int getY2Ifmt()
public void setZIfmt(int index)
index
- the z axis format indexpublic int getZIfmt()
public void setYScaleUnit(int scale)
scale
- the y axis scale unitpublic int getYScaleUnit()
public void setY2ScaleUnit(int scale)
scale
- the y2 axis scale unitpublic int getY2ScaleUnit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |