## Chart::GetPivotSource method


The source is the data of the pivot table. If PivotSource is not empty ,the chart is PivotChart.

```cpp
U16String Aspose::Cells::Charts::Chart::GetPivotSource()
```

## Remarks


If the pivot table "PivotTable1" in the [Worksheet](../../../aspose.cells/worksheet/) "Sheet1" in the file "Book1.xls". The pivotSource could be "[Book1.xls]Sheet1!PivotTable1" if the chart and the PivotTable is not in the same workbook. If you set this property ,the previous data source setting will be lost. 
## See Also

* Class [U16String](../../../aspose.cells/u16string/)
* Class [Chart](../)
* Namespace [Aspose::Cells::Charts](../../)
* Library [Aspose.Cells for C++](../../../)
