Series
Source: aspose.
Encapsulates the object that represents a single data series in a chart.
Methods
- getArea()
- getBar3DShapeType()
- getBorder()
- getBubbleScale()
- getBubbleSizeRepresents()
- getBubbleSizes()
- getCountOfDataValues()
- getDataLabels()
- getDisplayName()
- getDoughnutHoleSize()
- getDownBars()
- getDropLines()
- getExplosion()
- getFirstSliceAngle()
- getGapWidth()
- getHas3DEffect()
- getHiLoLines()
- getLayoutProperties()
- getLeaderLines()
- getLegendEntry()
- getMarker()
- getName()
- getOverlap()
- getPlotOnSecondAxis()
- getPoints()
- getSecondPlotSize()
- getSeriesLines()
- getShadow()
- getShapeProperties()
- getShowNegativeBubbles()
- getSizeRepresents()
- getSmooth()
- getSplitType()
- getSplitValue()
- getTrendLines()
- getType()
- getUpBars()
- getValues()
- getValuesFormatCode()
- getXErrorBar()
- getXValues()
- getYErrorBar()
- hasDropLines()
- hasHiLoLines()
- hasLeaderLines()
- hasRadarAxisLabels()
- hasSeriesLines()
- hasUpDownBars()
- isAutoSplit()
- isColorVaried()
- isFiltered()
- isVerticalValues()
- move(count)
- setBar3DShapeType()
- setBubbleScale()
- setBubbleSizeRepresents()
- setBubbleSizes()
- setColorVaried()
- setDoughnutHoleSize()
- setExplosion()
- setFiltered()
- setFirstSliceAngle()
- setGapWidth()
- setHas3DEffect()
- setHasDropLines()
- setHasHiLoLines()
- setHasLeaderLines()
- setHasRadarAxisLabels()
- setHasSeriesLines()
- setHasUpDownBars()
- setName()
- setOverlap()
- setPlotOnSecondAxis()
- setSecondPlotSize()
- setShadow()
- setShowNegativeBubbles()
- setSizeRepresents()
- setSmooth()
- setSplitType()
- setSplitValue()
- setType()
- setValues()
- setValuesFormatCode()
- setXValues()
Methods
getArea()
Represents the background area of Series object.
getBar3DShapeType()
Gets or sets the 3D shape type used with the 3-D bar or column chart. The value of the property is Bar3DShapeType integer constant.
getBorder()
Represents border of Series object.
getBubbleScale()
Gets or sets the scale factor for bubbles in the specified chart group. It can be an integer value from 0 (zero) to 300, corresponding to a percentage of the default size. Applies only to bubble charts.
getBubbleSizeRepresents()
Gets what the bubble size represents on a bubble chart. The value of the property is BubbleSizeRepresents integer constant. the bubble size represents on a bubble chart. NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Charts.Series.SizeRepresents property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
getBubbleSizes()
Gets or sets the bubble sizes values of the chart series.
getCountOfDataValues()
Gets the number of the data values.
getDataLabels()
Represents the DataLabels object for the specified ASeries.
getDisplayName()
Gets the series's name that displays on the chart graph.
getDoughnutHoleSize()
Returns or sets the size of the hole in a doughnut chart group. The hole size is expressed as a percentage of the chart size, between 10 and 90 percent.
getDownBars()
Returns a DropBars object that represents the down bars on a line chart. Applies only to line charts.
getDropLines()
Returns a Line object that represents the drop lines for a series on the line chart or area chart. Applies only to line chart or area charts.
getExplosion()
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
getFirstSliceAngle()
Gets or sets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). Applies only to pie, 3-D pie, and doughnut charts, 0 to 360.
getGapWidth()
Returns or sets the space between bar or column clusters, as a percentage of the bar or column width. The value of this property must be between 0 and 500.
getHas3DEffect()
True if the series has a three-dimensional appearance. Applies only to bubble charts.
getHiLoLines()
Returns a HiLoLines object that represents the high-low lines for a series on a line chart. Applies only to line charts.
getLayoutProperties()
Represents the properties of layout.
getLeaderLines()
Represents leader lines on a chart. Leader lines connect data labels to data points. This object isn’t a collection; there’s no object that represents a single leader line.
getLegendEntry()
Gets the legend entry according to this series.
getMarker()
Gets the Marker.
getName()
Gets or sets the name of the data series.
Example
//Reference name to a cell
chart.getNSeries().get(0).setName("=A1");
//Set a string to name
chart.getNSeries().get(0).setName("First Series");
getOverlap()
Specifies how bars and columns are positioned. Can be a value between – 100 and 100. Applies only to 2-D bar and 2-D column charts.
getPlotOnSecondAxis()
Indicates if this series is plotted on second value axis.
getPoints()
Gets the collection of points in a series in a chart. When the chart is Pie of Pie or Bar of Pie, the last point is other point in first pie plot.
getSecondPlotSize()
Returns or sets the size of the secondary section of either a pie of pie chart or a bar of pie chart, as a percentage of the size of the primary pie. Can be a value from 5 to 200.
getSeriesLines()
Returns a SeriesLines object that represents the series lines for a stacked bar chart or a stacked column chart. Applies only to stacked bar and stacked column charts.
getShadow()
True if the series has a shadow.
getShapeProperties()
Gets the ShapePropertyCollection object that holds the visual shape properties of the Series.
getShowNegativeBubbles()
True if negative bubbles are shown for the chart group. Valid only for bubble charts.
getSizeRepresents()
Gets or sets what the bubble size represents on a bubble chart. The value of the property is BubbleSizeRepresents integer constant. BubbleSizeRepresents.SizeIsArea means the value BubbleSizes is the area of the bubble. BubbleSizeRepresents.SizeIsWidth means the value BubbleSizes is the width of the bubble.
getSmooth()
Represents curve smoothing. True if curve smoothing is turned on for the line chart or scatter chart. Applies only to line and scatter connected by lines charts.
getSplitType()
Returns or sets a value that how to determine which data points are in the second pie or bar on a pie of pie or bar of pie chart. The value of the property is ChartSplitType integer constant.
getSplitValue()
Returns or sets a value that shall be used to determine which data points are in the second pie or bar on a pie of pie or bar of pie chart.
getTrendLines()
Returns all the trendlines of this series.
getType()
Gets or sets a data series' type. The value of the property is ChartType integer constant.
getUpBars()
Returns an DropBars object that represents the up bars on a line chart. Applies only to line charts.
getValues()
Represents the Y values of this chart series.
getValuesFormatCode()
Represents format code of Values's NumberList.
getXErrorBar()
Represents X direction error bar of the series.
getXValues()
Represents the x values of the chart series.
getYErrorBar()
Represents Y direction error bar of the series.
hasDropLines()
True if the chart has drop lines. Applies only to line chart or area charts.
hasHiLoLines()
True if the line chart has high-low lines. Applies only to line charts.
hasLeaderLines()
True if the series has leader lines.
hasRadarAxisLabels()
True if a radar chart has category axis labels. Applies only to radar charts.
hasSeriesLines()
True if a stacked column chart or bar chart has series lines or if a Pie of Pie chart or Bar of Pie chart has connector lines between the two sections. Applies only to stacked column charts, bar charts, Pie of Pie charts, or Bar of Pie charts.
hasUpDownBars()
True if a line chart has up and down bars. Applies only to line charts.
isAutoSplit()
Indicates whether the threshold value is automatic.
isColorVaried()
Represents if the color of points is varied. The chart must contain only one series.
isFiltered()
Indicates whether the series is selected or filtered.True represents this series is filtered, and it will not be displayed on the chart.
isVerticalValues()
Indicates whether the data source is vertical.
move(count)
Moves the series up or down.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
count |
Number |
|
The number of moving up or down. Move the series up if this is less than zero; Move the series down if this is greater than zero. |
setBar3DShapeType()
Gets or sets the 3D shape type used with the 3-D bar or column chart. The value of the property is Bar3DShapeType integer constant.
setBubbleScale()
Gets or sets the scale factor for bubbles in the specified chart group. It can be an integer value from 0 (zero) to 300, corresponding to a percentage of the default size. Applies only to bubble charts.
setBubbleSizeRepresents()
Gets what the bubble size represents on a bubble chart. The value of the property is BubbleSizeRepresents integer constant. the bubble size represents on a bubble chart. NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Charts.Series.SizeRepresents property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
setBubbleSizes()
Gets or sets the bubble sizes values of the chart series.
setColorVaried()
Represents if the color of points is varied. The chart must contain only one series.
setDoughnutHoleSize()
Returns or sets the size of the hole in a doughnut chart group. The hole size is expressed as a percentage of the chart size, between 10 and 90 percent.
setExplosion()
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
setFiltered()
Indicates whether the series is selected or filtered.True represents this series is filtered, and it will not be displayed on the chart.
setFirstSliceAngle()
Gets or sets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). Applies only to pie, 3-D pie, and doughnut charts, 0 to 360.
setGapWidth()
Returns or sets the space between bar or column clusters, as a percentage of the bar or column width. The value of this property must be between 0 and 500.
setHas3DEffect()
True if the series has a three-dimensional appearance. Applies only to bubble charts.
setHasDropLines()
True if the chart has drop lines. Applies only to line chart or area charts.
setHasHiLoLines()
True if the line chart has high-low lines. Applies only to line charts.
setHasLeaderLines()
True if the series has leader lines.
setHasRadarAxisLabels()
True if a radar chart has category axis labels. Applies only to radar charts.
setHasSeriesLines()
True if a stacked column chart or bar chart has series lines or if a Pie of Pie chart or Bar of Pie chart has connector lines between the two sections. Applies only to stacked column charts, bar charts, Pie of Pie charts, or Bar of Pie charts.
setHasUpDownBars()
True if a line chart has up and down bars. Applies only to line charts.
setName()
Gets or sets the name of the data series.
Example
//Reference name to a cell
chart.getNSeries().get(0).setName("=A1");
//Set a string to name
chart.getNSeries().get(0).setName("First Series");
setOverlap()
Specifies how bars and columns are positioned. Can be a value between – 100 and 100. Applies only to 2-D bar and 2-D column charts.
setPlotOnSecondAxis()
Indicates if this series is plotted on second value axis.
setSecondPlotSize()
Returns or sets the size of the secondary section of either a pie of pie chart or a bar of pie chart, as a percentage of the size of the primary pie. Can be a value from 5 to 200.
setShadow()
True if the series has a shadow.
setShowNegativeBubbles()
True if negative bubbles are shown for the chart group. Valid only for bubble charts.
setSizeRepresents()
Gets or sets what the bubble size represents on a bubble chart. The value of the property is BubbleSizeRepresents integer constant. BubbleSizeRepresents.SizeIsArea means the value BubbleSizes is the area of the bubble. BubbleSizeRepresents.SizeIsWidth means the value BubbleSizes is the width of the bubble.
setSmooth()
Represents curve smoothing. True if curve smoothing is turned on for the line chart or scatter chart. Applies only to line and scatter connected by lines charts.
setSplitType()
Returns or sets a value that how to determine which data points are in the second pie or bar on a pie of pie or bar of pie chart. The value of the property is ChartSplitType integer constant.
setSplitValue()
Returns or sets a value that shall be used to determine which data points are in the second pie or bar on a pie of pie or bar of pie chart.
setType()
Gets or sets a data series' type. The value of the property is ChartType integer constant.
setValues()
Represents the Y values of this chart series.
setValuesFormatCode()
Represents format code of Values's NumberList.
setXValues()
Represents the x values of the chart series.