## SeriesCollection::AddR1C1(const U16String\&, bool) method


Adds the [Series](../../series/) collection to a chart.

```cpp
int32_t Aspose::Cells::Charts::SeriesCollection::AddR1C1(const U16String &area, bool isVertical)
```


| Parameter | Type | Description |
| --- | --- | --- |
| area | const U16String\& | Specifies values from which to plot the data series |
| isVertical | bool | Specifies whether to plot the series from a range of cell values by row or by column. |

## ReturnValue

Return the first index of the added ASeries in the NSeries.
## Remarks





If set data on contiguous cells, use colon to separate them. For example, R[1]C[1]:R[3]C[2]. 

If set data on contiguous cells, use comma to separate them. For example,(R[1]C[1],R[3]C[2]).
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [SeriesCollection](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
## SeriesCollection::AddR1C1(const char16_t*, bool) method


Adds the [Series](../../series/) collection to a chart.

```cpp
int32_t Aspose::Cells::Charts::SeriesCollection::AddR1C1(const char16_t *area, bool isVertical)
```


| Parameter | Type | Description |
| --- | --- | --- |
| area | const char16_t* | Specifies values from which to plot the data series |
| isVertical | bool | Specifies whether to plot the series from a range of cell values by row or by column. |

## ReturnValue

Return the first index of the added ASeries in the NSeries.
## Remarks





If set data on contiguous cells, use colon to separate them. For example, R[1]C[1]:R[3]C[2]. 

If set data on contiguous cells, use comma to separate them. For example,(R[1]C[1],R[3]C[2]).
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [SeriesCollection](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
