Hi,
We’re facing issues when calling your api in order to add a chart series:
$dto = new OneValueSeries();
$dataPoints = [];
foreach ($values as $value) {
$dataPoint = new OneValueChartDataPoint();
$dataPoint->setValue($value);
$dataPoints[] = $dataPoint;
}
$dto->setDataPoints($dataPoints);
$result = $this->api()->createChartSeries($file_name, $slideIndex, $chartIndex, $dto);
The following is returned
{
"message": "[404] Client error: `POST https://api.aspose.cloud/v3.0/slides/4c0cece9-83eb-4283-a412-7afddeecccb2_534dc3e0f2e77d9d694b0b5fd0d3bcbe.pptx/slides/2/shapes/series` resulted in a `404 Not Found` response",
"exception": "Aspose\\Slides\\Cloud\\Sdk\\Api\\ApiException",
"file": "/var/www/html/vendor/aspose/slides-sdk-php/sdk/Api/ApiBase.php",
"line": 89,
"trace": [
{
"file": "/var/www/html/vendor/aspose/slides-sdk-php/sdk/Api/SlidesApi.php",
"line": 2486,
"function": "httpCall",
"class": "Aspose\\Slides\\Cloud\\Sdk\\Api\\ApiBase",
"type": "->"
},
{
"file": "/var/www/html/vendor/aspose/slides-sdk-php/sdk/Api/SlidesApi.php",
"line": 2470,
"function": "createChartSeriesWithHttpInfo",
"class": "Aspose\\Slides\\Cloud\\Sdk\\Api\\SlidesApi",
"type": "->"
},
...