GetRange()

ChartData::GetRange() method

Gets chart data range.

System::String Aspose::Slides::Charts::ChartData::GetRange() override

Return Value

Cells data range formula. E.g: "Sheet1!$A$1:$C$4"

Remarks

auto pres = MakeObject<Presentation>();
auto chart = pres->get_Slides()->idx_get(0)->get_Shapes()->AddChart(Charts::ChartType::PercentsStackedBar, 0.0f, 0.0f, 100.0f, 100.0f);
String result = (AsCast<Charts::ChartData>(chart->get_ChartData()))->GetRange();

See Also