![]() |
||
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.ASeries
public class ASeries
Encapsulates the object that represents a single data series in a chart.
Method Summary | |
---|---|
Area |
getArea()
Gets the background area of ASeries object. |
Line |
getBorder()
Gets the line or border of ASeries object. |
java.lang.String |
getBubbleSizes()
Gets the size data for the bubble chart. |
com.aspose.cells.ChartPoints |
getChartPoints()
Gets the collection of points in a series in a chart. |
DataLabels |
getDataLabels()
Gets the DataLabels object for the specified Series. |
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. |
java.lang.String |
getName()
Gets the name of the data series. |
int |
getSeriesNumber()
Gets the series number (as shown in name box -- Sereies1, Sereies2, etc.). |
Trendlines |
getTrendlines()
Gets Trendlines object represents a collection of all the trendlines for the series. |
int |
getType()
Gets a data series' type. |
java.lang.String |
getValues()
Gets the data of the chart series. |
ErrorBars |
getXErroBars()
Gets x error bars of the series |
java.lang.String |
getXValues()
Gets the range of x values. |
ErrorBars |
getYErroBars()
Gets y error bars of the series |
boolean |
isColorVaried()
Indicates whether the color of points is varied. |
boolean |
isPlotOnSecondAxis()
Indicates whether this series is plotted on second value axis. |
boolean |
isSmooth()
Indicates whether curve smoothing is turned on. |
void |
setBubbleSizes(java.lang.String sizes)
Sets the size data for the bubble chart. |
void |
setColorVaried(boolean isColorVaried)
Sets whether the color of points is varied. |
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 |
setName(java.lang.String name)
Sets the name of the data series. |
void |
setPlotOnSecondAxis(boolean isPlotOnSecondAxis)
Sets whether this series is plotted on second value axis. |
void |
setSeriesNumber(int seriesNumber)
Sets the series number(as shown in name box -- Sereies1, Sereies2, etc.). |
void |
setSmooth(boolean isSmooth)
Sets whether curve smoothing is turned on. |
void |
setType(int type)
Sets a data series' type. |
void |
setValues(java.lang.String values)
Sets the data of the chart series. |
void |
setXValues(java.lang.String xValues)
Sets the range of x values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getType()
public void setType(int type)
type
- a data series' type.
CellsException
- if chart has been removed.public boolean isColorVaried()
CellsException
- if chart has been removed.public void setColorVaried(boolean isColorVaried)
isColorVaried
- whether the color of points is varied.
CellsException
- if chart has been removed.public Area getArea()
CellsException
- if series collection has been removed.public Line getBorder()
CellsException
- if series collection has been removed.public DataLabels getDataLabels()
CellsException
- if series collection has been removed.public Trendlines getTrendlines()
CellsException
- if series collection has been removed.public java.lang.String getName()
CellsException
- if series collection has been removed.public void setName(java.lang.String name)
name
- the name of the data series.
CellsException
- if series collection has been removed.public java.lang.String getValues()
CellsException
- if series collection has been removed.public void setValues(java.lang.String values)
values
- the data of the chart series.
CellsException
- if series collection has been removed.public void setXValues(java.lang.String xValues)
xValues
- the range of x values.
java.lang.IllegalArgumentException
- if category data is invalid.
CellsException
- if chart has been removed.public java.lang.String getXValues()
CellsException
- if chart has been removed.setXValues(String)
public void setBubbleSizes(java.lang.String sizes)
sizes
- the size data for the bubble chart.
java.lang.IllegalArgumentException
- if category data is invalid.
CellsException
- if chart has been removed.public java.lang.String getBubbleSizes()
CellsException
- if chart has been removed.setBubbleSizes(String)
public com.aspose.cells.ChartPoints getChartPoints()
CellsException
- if chart has been removed.public Color getMarkerBackgroundColor()
CellsException
- if chart has been removed.public void setMarkerBackgroundColor(Color markerBackgroundColor)
markerBackgroundColor
- the marker backgournd color.
CellsException
- if chart has been removed.public Color getMarkerForegroundColor()
CellsException
- if chart has been removed.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.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.public short getMarkerStyle()
CellsException
- if chart has been removed.setMarkerStyle(short)
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.public ErrorBars getYErroBars()
CellsException
- if chart has been removed.public ErrorBars getXErroBars()
CellsException
- if chart has been removed.public int getSeriesNumber()
public void setSeriesNumber(int seriesNumber)
seriesNumber
- series number.
CellsException
- if chart has been removed.getSeriesNumber()
public boolean isSmooth()
public void setSmooth(boolean isSmooth)
isSmooth
- whether curve smoothing is turned on.
CellsException
- if chart has been removed.public boolean isPlotOnSecondAxis()
public void setPlotOnSecondAxis(boolean isPlotOnSecondAxis)
isPlotOnSecondAxis
- whether this series is plotted on second value axis.
CellsException
- if chart has been removed.
java.lang.IllegalArgumentException
- if no series is on the primary axis.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |