![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Chart
public class Chart
Encapsulates the object that represents a single Excel chart.
Method Summary | |
---|---|
CategoryAxis |
getCategoryAxis()
Gets the chart's category axis. |
ChartArea |
getChartArea()
Gets the chart area in the worksheet. |
ChartDataTable |
getChartDataTable()
Gets chart data table. |
short |
getDepthPercent()
Represents the depth of a 3-D chart as a percentage of the chart width (between 20 and 2000 percent). |
int |
getElevation()
Represents the elevation of the 3-D chart view, in degrees(between -90 and 90). |
int |
getFirstSliceAngle()
Gets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). |
Floor |
getFloor()
Gets a Floor object that represents the walls of a 3-D chart. |
Legend |
getLegend()
Gets the chart legend. |
NSeries |
getNSeries()
Gets a NSeries object representing the data series in the chart. |
int |
getPerspective()
Gets the perspective for the 3-D chart view. |
PlotArea |
getPlotArea()
Gets the chart's plot area. |
int |
getRotation()
Represents the rotation of the 3-D chart view (the rotation of the plot area around the series axis, in degrees)(between 0 and 360). |
SeriesAxis |
getSeriesAxis()
Gets the chart's series axis. |
Title |
getTitle()
Gets the chart's title. |
ValueAxis |
getValueAxis()
Gets the chart's value axis. |
Walls |
getWalls()
Gets a Walls object that represents the walls of a 3-D chart. |
boolean |
isDataTableShown()
Indicates whether the chart displays a data table. |
boolean |
isLegendShown()
Indicates whether the chart legend will be displayed. |
boolean |
isRightAngleAxes()
True if the chart axes are at right angles, independent of chart rotation or elevation. |
void |
setDataTableShown(boolean isDataTableShown)
Indicates whether the chart displays a data table. |
void |
setDepthPercent(int depthPercent)
Represents the depth of a 3-D chart view as a percentage of the chart width (between 20 and 2000 percent). |
void |
setElevation(int elevation)
Represents the elevation of the 3-D chart view, in degrees(between -90 and 90). |
void |
setFirstSliceAngle(int firstSliceAngle)
Sets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). |
void |
setLegendShown(boolean isLegendShown)
Sets whether the chart legend will be displayed.Default is true. |
void |
setPerspective(int perspective)
Gets the perspective for the 3-D chart view. |
void |
setRightAngleAxes(boolean isRightAngleAxes)
True if the chart axes are at right angles, independent of chart rotation or elevation. |
void |
setRotation(int rotation)
Represents the rotation of the 3-D chart view (the rotation of the plot area around the series axis, in degrees)(between 0 and 360). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ChartArea getChartArea()
ExcelException
- if charts has bean removed.public PlotArea getPlotArea()
ExcelException
- if charts has bean removed.public CategoryAxis getCategoryAxis()
ExcelException
- if charts has bean removed.public ValueAxis getValueAxis()
ExcelException
- if charts has bean removed.public SeriesAxis getSeriesAxis()
ExcelException
- if charts has bean removed.public NSeries getNSeries()
ExcelException
- if charts has bean removed.public Legend getLegend()
ExcelException
- if charts has bean removed.public boolean isLegendShown()
ExcelException
- if charts has bean removed.public void setLegendShown(boolean isLegendShown)
isLegendShown
- whether the chart legend will be displayed.
ExcelException
- if charts has bean removed.public Title getTitle()
ExcelException
- if charts has bean removed.public Floor getFloor()
ExcelException
- if charts has bean removed.public Walls getWalls()
ExcelException
- if charts has bean removed.public boolean isDataTableShown()
ExcelException
- if charts has bean removed.public void setDataTableShown(boolean isDataTableShown)
isDataTableShown
- whether the chart displays a data table.
ExcelException
- if charts has bean removed.public ChartDataTable getChartDataTable()
ExcelException
- if charts has bean removed.public short getDepthPercent()
ExcelException
- if charts has bean removed.public void setDepthPercent(int depthPercent)
depthPercent
- the depth of a 3-D chart as a percentage of the chart width.
java.lang.IllegalArgumentException
- if depthPercent is not between 20 and 2000.
ExcelException
- if charts has bean removed.public int getElevation()
ExcelException
- if charts has bean removed.public void setElevation(int elevation)
elevation
- the elevation of the 3-D chart view.
java.lang.IllegalArgumentException
- if elevation is not between -90 and 90.
ExcelException
- if charts has bean removed.public int getPerspective()
ExcelException
- if charts has bean removed.public void setPerspective(int perspective)
perspective
- the perspective for the 3-D chart view
ExcelException
- if charts has bean removed.
java.lang.IllegalArgumentException
- if perspective is not between 0 and 100.public int getRotation()
ExcelException
- if charts has bean removed.public void setRotation(int rotation)
rotation
- the rotation of the 3-D chart view.
java.lang.IllegalArgumentException
- if rotation is not between 0 and 360.
ExcelException
- if charts has bean removed.public boolean isRightAngleAxes()
ExcelException
- if charts has bean removed.public void setRightAngleAxes(boolean isRightAngleAxes)
isRightAngleAxes
- whether the chart axes are at right angles.
ExcelException
- if charts has bean removed.public int getFirstSliceAngle()
ExcelException
- if charts has bean removed.public void setFirstSliceAngle(int firstSliceAngle)
firstSliceAngle
- the angle of the first pie-chart or doughnut-chart slice.
java.lang.IllegalArgumentException
- if firstSliceAngle is not between 0 and 360;
ExcelException
- if charts has bean removed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |