## SeriesCollection::ChangeSeriesOrder method


Directly changes the orders of the two series.


>Deprecated
>
>Use SeriesCollection.SwapSeries property, instead. 
```cpp
void Aspose::Cells::Charts::SeriesCollection::ChangeSeriesOrder(int32_t sourceIndex, int32_t destIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| sourceIndex | int32_t | The current index |
| destIndex | int32_t | The dest index |
## Remarks



NOTE: This method is now obsolete. Instead, please use [SeriesCollection.SwapSeries](../swapseries/) method. This method will be removed 12 months later since June 2024. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

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