![]() |
||
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.ChartPoint
public class ChartPoint
Represents a single point in a series in a chart.
Method Summary | |
---|---|
int |
compareTo(ChartPoint point)
Compares this ChartPoint with another one for order. |
int |
compareTo(int index)
Compares this ChartPoint with another one that has given point index for order. |
Area |
getArea()
Gets the Area. |
Line |
getBorder()
Gets the border Line. |
DataLabels |
getDataLabels()
Gets the DataLabels object |
DataLabels |
getDataLabelsOrNull()
Gets the customed DataLabels object of this point. |
int |
getExplosion()
Get the distance of an open pie slice from the center of the pie chart, expressed as a percentage of the pie diameter. |
int |
getKey()
Gets the comparable key of this ChartPoint. |
Marker |
getMarker()
Gets the Marker settings for line chart, scatter chart, or radar chart. |
Color |
getMarkerBackgroundColor()
Gets the marker backgournd color in a line chart, scatter chart, or radar chart. |
Color |
getMarkerForegroundColor()
Gets the marker foregournd color in a line chart, scatter chart, or radar chart. |
int |
getMarkerSize()
Gets the marker size in a line chart, scatter chart, or radar chart. |
short |
getMarkerStyle()
Gets the marker style in a line chart, scatter chart, or radar chart. |
int |
getPointIndex()
Gets the index of this ChartPoint. |
boolean |
isInvertIfNegative()
Indicates if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number. |
boolean |
isShadow()
Indicates whether the series has a shadow |
void |
setExplosion(int value)
Set the distance of an open pie slice from the center of the pie chart, expressed as a percentage of the pie diameter. |
void |
setInvertIfNegative(boolean invert)
Sets whether Microsoft Excel inverts the pattern in the item when it corresponds to a negative number. |
void |
setKey(int key)
Sets the comparable key of this ChartPoint. |
void |
setMarkerBackgroundColor(Color markerBackgroundColor)
Sets the marker backgournd color in a line chart, scatter chart, or radar chart. |
void |
setMarkerForegroundColor(Color markerForegroundColor)
Represents the marker foregournd color in a line chart, scatter chart, or radar chart. |
void |
setMarkerSize(int markerSize)
Sets the marker size in a line chart, scatter chart, or radar chart. |
void |
setMarkerStyle(short markerStyle)
Sets the marker style in a line chart, scatter chart, or radar chart. |
void |
setShadow(boolean isShadow)
Sets whether the series has a shadow |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getPointIndex()
ChartPoints.getChartPoint(int)
public Line getBorder()
CellsException
- if the series has bean removed.public Area getArea()
CellsException
- if the series has bean removed.public DataLabels getDataLabels()
CellsException
- if series collection has been removed.public DataLabels getDataLabelsOrNull()
CellsException
- if series collection has been removed.public boolean isShadow()
public void setShadow(boolean isShadow)
isShadow
- whether the series has a shadowpublic int getExplosion()
public void setExplosion(int value)
value
- the distance of an open pie slice from the center of the pie chartpublic boolean isInvertIfNegative()
public void setInvertIfNegative(boolean invert)
invert
- whether Microsoft Excel inverts the pattern in the item when it corresponds to a negative number.public Marker getMarker()
public Color getMarkerBackgroundColor()
CellsException
- if chart has been removed.Marker.getArea()
public void setMarkerBackgroundColor(Color markerBackgroundColor)
markerBackgroundColor
- the marker backgournd color.
CellsException
- if chart has been removed.Marker.getArea()
public Color getMarkerForegroundColor()
CellsException
- if chart has been removed.Marker.getLine()
public void setMarkerForegroundColor(Color markerForegroundColor)
markerForegroundColor
- the marker foregournd color.
CellsException
- if chart has been removed.public int getMarkerSize()
CellsException
- if chart has been removed.Marker.getSize()
public void setMarkerSize(int markerSize)
markerSize
- the marker size(between 2 and 72).
java.lang.IllegalArgumentException
- if marker size is not between 2 and 72;
CellsException
- if chart has been removed.Marker.setSize(int)
public short getMarkerStyle()
CellsException
- if chart has been removed.Marker.getStyle()
public void setMarkerStyle(short markerStyle)
markerStyle
- the marker style.
It could be one of the following values: ChartMarkerType.AUTOMATIC |
ChartMarkerType.CIRCLE |
ChartMarkerType.DASH |
ChartMarkerType.DOT |
ChartMarkerType.DIAMOND |
ChartMarkerType.NONE |
ChartMarkerType.SQUARE_PLUS |
ChartMarkerType.SQUARE |
ChartMarkerType.SQUARE_STAR |
ChartMarkerType.TRIANGLE |
ChartMarkerType.SQUARE_X |
java.lang.IllegalArgumentException
- if marker style is invalid.
CellsException
- if chart has been removed.Marker.setStyle(short)
public int compareTo(int index)
index
- the point index to be compared with the index of this point.
public int compareTo(ChartPoint point)
point
- the ChartPoint to be compared with this one.
public int getKey()
getPointIndex()
.
public void setKey(int key)
key
- key value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |