|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.usermodel.HSSFChart
public class HSSFChart
Has methods for construction of a chart object.
Nested Class Summary | |
---|---|
class |
HSSFChart.HSSFSeries
A series in a chart |
Method Summary | |
---|---|
void |
createBarChart(HSSFWorkbook workbook,
HSSFSheet sheet)
Creates a bar chart. |
int |
getChartHeight()
Get the height of the chart. |
java.lang.String |
getChartTitle()
Returns the chart's title, if there is one, or null if not |
int |
getChartWidth()
Get the width of the chart. |
int |
getChartX()
Get the X offset of the chart |
int |
getChartY()
Get the Y offset of the chart |
HSSFChart.HSSFSeries[] |
getSeries()
Returns the series of the chart |
static HSSFChart[] |
getSheetCharts(HSSFSheet sheet)
Returns all the charts for the given sheet. |
void |
setChartHeight(int height)
Sets the height of the chart. |
void |
setChartTitle(java.lang.String title)
Changes the chart's title, but only if there was one already. |
void |
setChartWidth(int width)
Sets the width of the chart. |
void |
setChartX(int x)
Sets the X offset of the chart |
void |
setChartY(int y)
Sets the Y offset of the chart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void createBarChart(HSSFWorkbook workbook, HSSFSheet sheet)
NOTE: Does not yet work... checking it in just so others can take a look.
public static HSSFChart[] getSheetCharts(HSSFSheet sheet)
public int getChartX()
public int getChartY()
public int getChartWidth()
ChartRecord
public int getChartHeight()
ChartRecord
public void setChartX(int x)
public void setChartY(int y)
public void setChartWidth(int width)
ChartRecord
public void setChartHeight(int height)
ChartRecord
public HSSFChart.HSSFSeries[] getSeries()
public java.lang.String getChartTitle()
public void setChartTitle(java.lang.String title)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |