## SparklineCollection::Add(const U16String\&, int32_t, int32_t) method


Add a sparkline.

```cpp
int32_t Aspose::Cells::Charts::SparklineCollection::Add(const U16String &dataRange, int32_t row, int32_t column)
```


| Parameter | Type | Description |
| --- | --- | --- |
| dataRange | const U16String\& | Specifies the new data range of the sparkline. |
| row | int32_t | The row index of the location. |
| column | int32_t | The column index of the location. |

## See Also

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


Add a sparkline.

```cpp
int32_t Aspose::Cells::Charts::SparklineCollection::Add(const char16_t *dataRange, int32_t row, int32_t column)
```


| Parameter | Type | Description |
| --- | --- | --- |
| dataRange | const char16_t* | Specifies the new data range of the sparkline. |
| row | int32_t | The row index of the location. |
| column | int32_t | The column index of the location. |

## See Also

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