|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.ChartInfo
public class ChartInfo
contains the information of chart in the file.
| Field Summary | |
|---|---|
static int |
DEFAULT
|
static short |
MONOCHROIC
|
static short |
VARIED
|
| Constructor Summary | |
|---|---|
ChartInfo()
|
|
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()
Get the Information of chart Area |
short |
getChartFormat()
Get chart format 1 for vary color for each data point, 0 for monochroic. |
ChartLocInfo |
getChartLocInfo()
Get the information of chart location |
ChartLabelInfo |
getChartTitle()
Get the title of chart |
ChartTypeInfo |
getChartTypeInfo()
Get the informatint of chart type |
float |
getHeight()
Get the height of chart |
LegendInfo |
getLegendInfo()
Get the information of chart legend |
ChartPaperInfo |
getPaperInfo()
Get the information of chart paper |
float |
getWidth()
Get the width of chart |
float |
getX()
Get the x position of chart |
ChartLabelInfo |
getXAxisName()
Get the x axis name of chart |
int |
getXIfmt()
Get the x axis format index |
float |
getY()
Get the y position of chart |
int |
getY2Ifmt()
Get the y2 axis format index |
int |
getY2ScaleUnit()
Get the y2 axis scale unit |
ChartLabelInfo |
getYAxisName()
Get the y axis name of chart |
int |
getYIfmt()
Get the y axis format index |
int |
getYScaleUnit()
Get the y axis scale unit |
ChartLabelInfo |
getZAxisName()
Get the z axis name of chart |
int |
getZIfmt()
Get the z axis format index |
void |
setChartAreaInfo(ChartAreaInfo chartAreaInfo)
Set the Information of chart Area |
void |
setChartFormat(short chartFormat)
Set chart format 1 for vary color for each data point, 0 for monochroic. |
void |
setChartLocInfo(ChartLocInfo chartLocInfo)
Set the information of chart location |
void |
setChartTitle(ChartLabelInfo chartTitle)
Set the title of chart |
void |
setChartTypeInfo(ChartTypeInfo chartTypeInfo)
Set the informatint of chart type |
void |
setHeight(float height)
Set the height of chart |
void |
setLegendInfo(LegendInfo legendInfo)
Set the information of chart legend |
void |
setPaperInfo(ChartPaperInfo paperInfo)
Set the information of chart paper |
void |
setWidth(float width)
Set the width of chart |
void |
setX(float x)
Set the x position of chart |
void |
setXAxisName(ChartLabelInfo xAxisName)
Set the x axis name of chart |
void |
setXIfmt(int index)
Set the x axis format index |
void |
setY(float y)
Set the y position of chart |
void |
setY2Ifmt(int index)
Set the y2 axis format index |
void |
setY2ScaleUnit(int scale)
Set the y2 axis scale unit |
void |
setYAxisName(ChartLabelInfo yAxisName)
Set the y axis name of chart |
void |
setYIfmt(int index)
Set the y axis format index |
void |
setYScaleUnit(int scale)
Set the y axis scale unit |
void |
setZAxisName(ChartLabelInfo zAxisName)
Set the z axis name of chart |
void |
setZIfmt(int index)
Set 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 int DEFAULT
public static final short MONOCHROIC
public static final short VARIED
| Constructor Detail |
|---|
public ChartInfo()
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 upper-left cornery - The y-position of upper-left cornerwidth - Width of the chartheight - Height of the chartchartTypeInfo - The information of the chart typeseriesInfos - The information of the serisesxAxisName - Name of x axisyAxisName - Name of y axiszAxisName - Name of z axischartTitle - Title of the chartlegendInfo - The information of legendchartLocInfo - The information of chart locationchartForColor - The chart forground colorchartBacColor - The background color of chartpaperInfo - The information of chart paperchartFormat - Identify the chart is multicolor or not| Method Detail |
|---|
public void setX(float x)
public float getX()
public void setY(float y)
public float getY()
public void setWidth(float width)
public float getWidth()
public void setHeight(float height)
public float getHeight()
public void setChartTypeInfo(ChartTypeInfo chartTypeInfo)
public 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 formatMONOCHROIC,
VARIEDpublic short getChartFormat()
MONOCHROIC,
VARIEDpublic void setXIfmt(int index)
public int getXIfmt()
public void setYIfmt(int index)
public int getYIfmt()
public void setY2Ifmt(int index)
public int getY2Ifmt()
public void setZIfmt(int index)
public int getZIfmt()
public void setYScaleUnit(int scale)
public int getYScaleUnit()
public void setY2ScaleUnit(int scale)
public int getY2ScaleUnit()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||