![]() |
||
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.SeriesAxis
public class SeriesAxis
Encapsulates the object that represents series axis.
Method Summary | |
---|---|
Line |
getAxisLine()
Gets the appearance of an axis. |
Font |
getFont()
Gets a Font object that represents the font of the specified TickLabels object. |
Line |
getMajorGridLines()
Gets major gridlines on a chart axis. |
int |
getMajorTickMark()
Gets the type of major tick mark for the axis. |
Line |
getMinorGridLines()
Gets minor gridlines on a chart axis. |
int |
getMinorTickMark()
Gets the type of minor tick mark for the axis. |
int |
getNumber()
Gets the format index for the TickLabels object. |
int |
getRotation()
Gets text rotation angle. |
int |
getTickLabelPosition()
Gets the position of tick-mark labels on the axis. |
int |
getTickLabelSpacing()
Gets the number of series between tick-mark labels. |
short |
getTickMarkSpacing()
Gets the number of series between tick marks. |
Title |
getTitle()
Gets the axis' title. |
boolean |
isReversed()
Indicates whether Microsoft Workbook plots data points from last to first. |
boolean |
isVisible()
Indicates whether the axis is visible. |
void |
setAxisLine(Line line)
Sets the appearance of an axis. |
void |
setFont(Font font)
Sets a Font object that represents the font of the specified TickLabels object. |
void |
setMajorTickMark(int majorTickMark)
Sets the type of major tick mark for the axis. |
void |
setMinorTickMark(int minorTickMark)
Sets the type of minor tick mark for the axis. |
void |
setNumber(int number)
Sets the format index for the TickLabels object. |
void |
setReversed(boolean isReversed)
Sets whether Microsoft Workbook plots data points from last to first. |
void |
setRotation(int rotation)
Sets text rotation angle.Must be between -90 and 90. |
void |
setTickLabelPosition(int tickLabelPosition)
Sets the position of tick-mark labels on the axis. |
void |
setTickLabelSpacing(int tickLabelSpacing)
Sets the number of series between tick-mark labels. |
void |
setTickMarkSpacing(int tickMarkSpacing)
Sets the number of series between tick marks. |
void |
setVisible(boolean isVisible)
Sets whether the axis is visible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getTickLabelSpacing()
CellsException
- if chart has been removed.public void setTickLabelSpacing(int tickLabelSpacing)
tickLabelSpacing
- the number of series between tick-mark labels.
CellsException
- if chart has been removed.public short getTickMarkSpacing()
CellsException
- if chart has been removed.public void setTickMarkSpacing(int tickMarkSpacing)
tickMarkSpacing
- the number of series between tick marks.
CellsException
- if chart has been removed.public void setReversed(boolean isReversed)
isReversed
- whether Microsoft Workbook plots data points from last to first.
CellsException
- if chart has been removed.public boolean isReversed()
CellsException
- if chart has been removed.public Title getTitle()
CellsException
- if chart has been removed.public Line getAxisLine()
CellsException
- if chart has bean removed.public void setAxisLine(Line line)
line
- the appearance of an axis.
CellsException
- if chart has bean removed.public Line getMajorGridLines()
CellsException
- if chart has bean removed.public Line getMinorGridLines()
CellsException
- if chart has bean removed.public Font getFont()
CellsException
- if chart has bean removed.public void setFont(Font font)
font
- a Font object.
CellsException
- if chart has bean removed.public int getNumber()
CellsException
- if chart has bean removed.Style.setNumber(int)
public void setNumber(int number)
number
- the format index.
java.lang.IllegalArgumentException
- if format number is not built-in number.
CellsException
- if chart has bean removed.Style.setNumber(int)
public int getRotation()
CellsException
- if chart has bean removed.public void setRotation(int rotation)
rotation
- text rotation angle.
java.lang.IllegalArgumentException
- if rotation is not between -90 and 90.
CellsException
- if chart has bean removed.public int getMajorTickMark()
CellsException
- if chart has bean removed.setMajorTickMark(int)
public void setMajorTickMark(int majorTickMark)
majorTickMark
- the type of major tick mark for the axis.
It could be one of the following values: TickMarkerType.CROSS |
TickMarkerType.INSIDE |
TickMarkerType.NONE |
TickMarkerType.OUTSIDE |
java.lang.IllegalArgumentException
- if majorTickMark is invalid tick mark type.
CellsException
- if chart has bean removed.public int getMinorTickMark()
CellsException
- if chart has bean removed.setMajorTickMark(int)
public void setMinorTickMark(int minorTickMark)
minorTickMark
- the type of minor tick mark for the axis.
CellsException
- if chart has bean removed.
java.lang.IllegalArgumentException
- if minorTickMark is invalid tick mark type.setMajorTickMark(int)
public int getTickLabelPosition()
CellsException
- if chart has bean removed.setTickLabelPosition(int)
public void setTickLabelPosition(int tickLabelPosition)
tickLabelPosition
- the position of tick-mark labels on the axis.
* It could be one of the following values: TickLabelPositionType.HIGH |
TickLabelPositionType.LOW |
TickLabelPositionType.NEXT_TO_AXIS |
TickLabelPositionType.NONE |
java.lang.IllegalArgumentException
- if tick label position type is invalid.
CellsException
- if chart has bean removed.public boolean isVisible()
CellsException
- if chart has bean removed.public void setVisible(boolean isVisible)
isVisible
- whether the axis is visible.
CellsException
- if chart has bean removed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |