---
title: "add method"
url: "https://reference.aspose.com/cells/python-net/aspose.cells.charts/sparklinecollection/add/"
product: "Aspose.Cells for Python via .NET API References"
---


## add(self, data_range, row, column) {#System.String-int-int}

Add a sparkline.



```python

def add(self, data_range, row, column):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| data_range | System.String | Specifies the new data range of the sparkline. |
| row | int | The row index of the location. |
| column | int | The column index of the location. |



### See Also
* module [`aspose.cells.charts`](../../)
* class [`SparklineCollection`](/cells/python-net/aspose.cells.charts/sparklinecollection)
