![]() |
||
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.ValueAxis
public class ValueAxis
Encapsulates the object that represents a chart's value axis.
Method Summary | |
---|---|
Line |
getAxisLine()
Gets the appearance of an axis. |
double |
getCrossAt()
Gets the point on the value axis where the other axis crosses. |
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. |
double |
getMajorUnit()
Gets the major units for the value axis. |
double |
getMaxValue()
Gets the maximum value on the value axis. |
Line |
getMinorGridLines()
Gets minor gridlines on a chart axis. |
int |
getMinorTickMark()
Gets the type of minor tick mark for the axis. |
double |
getMinorUnit()
Gets the minor units for the value axis. |
double |
getMinValue()
Gets the minimum value on the value 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. |
Title |
getTitle()
Gets the value axis' title. |
boolean |
isAutoCross()
Indicates whether Microsoft Workbook automatically sets the axis crossing point. |
boolean |
isCrossAtMax()
Indicates whether the axis crosses at the maximum value. |
boolean |
isLogarithmic()
Indicates whether the value axis scale type is logarithmic or not. |
boolean |
isPlotOrderReversed()
Indicates whether Microsoft Workbook plots data points from last to first. |
boolean |
isVisible()
Indicates whether the axis is visible. |
void |
setAutoCross(boolean isAutoCross)
Sets whether Microsoft Workbook automatically sets the axis crossing point. |
void |
setAxisLine(Line line)
Sets the appearance of an axis. |
void |
setCrossAt(double crossAt)
Sets the point on the value axis where the other axis crosses. |
void |
setCrossAtMax(boolean isCrossAtMax)
Sets whether the axis crosses at the maximum value. |
void |
setFont(Font font)
Sets a Font object that represents the font of the specified TickLabels object. |
void |
setLogarithmic(boolean isLogarithmic)
Sets whether the value axis scale type is logarithmic or not. |
void |
setMajorTickMark(int majorTickMark)
Sets the type of major tick mark for the axis. |
void |
setMajorUnit(double majorUnit)
Sets the major units for the value axis. |
void |
setMaxValue(double maxValue)
Sets the maximum value on the value axis. |
void |
setMinorTickMark(int minorTickMark)
Sets the type of minor tick mark for the axis. |
void |
setMinorUnit(double minorUnit)
Sets the minor units for the value axis. |
void |
setMinValue(double minValue)
Sets the minimum value on the value axis. |
void |
setNumber(int number)
Sets the format index for the TickLabels object. |
void |
setPlotOrderReversed(boolean isPlotOrderReversed)
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 |
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 Title getTitle()
CellsException
- if chart has bean removed.public double getCrossAt()
CellsException
- if chart has bean removed.public void setCrossAt(double crossAt)
crossAt
- the point on the value axis where the other axis crosses.
CellsException
- if chart has bean removed.public double getMajorUnit()
CellsException
- if chart has bean removed.public void setMajorUnit(double majorUnit)
majorUnit
- the major units for the value axis.
CellsException
- if chart has bean removed.public double getMinorUnit()
CellsException
- if chart has bean removed.public void setMinorUnit(double minorUnit)
minorUnit
- the minor units for the value axis.
CellsException
- if chart has bean removed.public double getMaxValue()
CellsException
- if chart has bean removed.public void setMaxValue(double maxValue)
maxValue
- the maximum value on the value axis.
CellsException
- if chart has bean removed.public double getMinValue()
CellsException
- if chart has bean removed.public void setMinValue(double minValue)
minValue
- the minimum value on the value axis.
CellsException
- if chart has bean removed.public void setCrossAtMax(boolean isCrossAtMax)
isCrossAtMax
- whether the axis crosses at the maximum value.
CellsException
- if chart has bean removed.public boolean isCrossAtMax()
CellsException
- if chart has bean removed.public void setPlotOrderReversed(boolean isPlotOrderReversed)
isPlotOrderReversed
- whether Microsoft Workbook plots data points from last to first.
CellsException
- if chart has bean removed.public boolean isPlotOrderReversed()
CellsException
- if chart has bean removed.public void setLogarithmic(boolean isLogarithmic)
isLogarithmic
- whether the value axis scale type is logarithmic or not.
CellsException
- if chart has bean removed.public boolean isLogarithmic()
CellsException
- if chart has bean removed.public boolean isAutoCross()
CellsException
- if chart has bean removed.public void setAutoCross(boolean isAutoCross)
isAutoCross
- whether Microsoft Workbook automatically sets the axis crossing point.
CellsException
- if chart has bean 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 |