![]() |
||
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.DataLabels
public class DataLabels
Encapsulates a collection of all the DataLabel objects for the specified ASeries.
Method Summary | |
---|---|
Area |
getArea()
Gets the Area. |
Line |
getBorder()
Gets the border Line. |
Font |
getFont()
Gets a Font object of the chart data label. |
byte |
getLabelPosition()
Gets the lable position. |
int |
getNumber()
Gets the built-in display format of numbers and dates. |
int |
getTextHorizontalAlignment()
Gets the text horizontal alignment. |
int |
getTextVerticalAlignment()
Gets the text vertical alignment of text. |
boolean |
isBubbleShown()
Indicates whether the chart's data label Percentage display. |
boolean |
isCategoryNameShown()
Indicates whether the chart's data label category name display. |
boolean |
isPercentageShown()
Indicates whether the chart's data label Percentage display. |
boolean |
isSeriesShown()
Indicates whether chart's data label series names display. |
boolean |
isValueShown()
Indicates whether the chart's data label values display. |
void |
setBubbleShown(boolean isBubbleShown)
Sets whether the chart's data label Percentage display. |
void |
setCategoryNameShown(boolean isCategoryNameShown)
Sets whether the chart's data label category name display. |
void |
setFont(Font font)
Sets a Font object of the chart data label. |
void |
setLabelPosition(byte LablePositionType)
Sets the label postion. |
void |
setNumber(int number)
Sets the built-in display format of numbers and dates. Use built-in numbers for better performance. |
void |
setPercentageShown(boolean isPercentageShown)
Sets whether the chart's data label Percentage display. |
void |
setSeriesShown(boolean isSeriesShown)
Sets whether chart's data label series names display. |
void |
setTextHorizontalAlignment(int textAlignmentType)
Sets the text horizontal alignment. |
void |
setTextVerticalAlignment(int textAlignmentType)
Sets the text vertical alignment of text. |
void |
setValueShown(boolean isValueShown)
Sets whether the chart's data label values display. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Font getFont()
CellsException
- if series has bean removed.public void setFont(Font font)
font
- a Font object of the chart data label.
CellsException
- if series has bean removed.public void setSeriesShown(boolean isSeriesShown)
isSeriesShown
- whether chart's data label series names display.
CellsException
- if the series has bean removed.public boolean isSeriesShown()
CellsException
- if the series has bean removed.public void setValueShown(boolean isValueShown)
isValueShown
- whether the chart's data label values display.
CellsException
- if the series has bean removed.public boolean isValueShown()
CellsException
- if the series has bean removed.public void setCategoryNameShown(boolean isCategoryNameShown)
isCategoryNameShown
- whether the chart's data label category name display.
CellsException
- if the series has bean removed.public boolean isCategoryNameShown()
CellsException
- if the series has bean removed.public boolean isPercentageShown()
CellsException
- if the series has bean removed.public void setPercentageShown(boolean isPercentageShown)
isPercentageShown
- whether the chart's data label Percentage display.
CellsException
- if the series has bean removed.public boolean isBubbleShown()
CellsException
- if the series has bean removed.public void setBubbleShown(boolean isBubbleShown)
isBubbleShown
- whether the chart's data label Percentage display.
CellsException
- if the series has bean removed.public int getTextHorizontalAlignment()
CellsException
- if chart has bean removed.setTextHorizontalAlignment(int)
public void setTextHorizontalAlignment(int textAlignmentType)
textAlignmentType
- the text horizontal alignment.
It could be one of the following values: TextAlignmentType.LEFT |
TextAlignmentType.CENTER |
TextAlignmentType.RIGHT |
TextAlignmentType.JUSTIFY |
TextAlignmentType.DISTRIBUTED |
CellsException
- if chart has bean removed.
java.lang.IllegalArgumentException
- if test alignment type is invalid.public byte getLabelPosition()
public void setLabelPosition(byte LablePositionType)
LablePositionType
- the label postion. It must be the const number of LabelPositionType.LabelPositionType
public int getTextVerticalAlignment()
CellsException
- if chart has bean removed.setTextVerticalAlignment(int)
public void setTextVerticalAlignment(int textAlignmentType)
textAlignmentType
- the text vertical alignment of text.
* It could be one of the following values: TextAlignmentType.TOP |
TextAlignmentType.CENTER |
TextAlignmentType.BOTTOM |
TextAlignmentType.JUSTIFY |
TextAlignmentType.DISTRIBUTED |
CellsException
- if chart has bean removed.
java.lang.IllegalArgumentException
- if test alignment type is invalid.public void setNumber(int number)
number
- the built-in formatting number.
java.lang.IllegalArgumentException
- if number is invalid.
CellsException
- if the series has bean removed.Style.setNumber(int)
public int getNumber()
CellsException
- if the series has bean removed.Style.setNumber(int)
public Line getBorder()
CellsException
- if chart has bean removed.public Area getArea()
CellsException
- if chart has bean removed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |