Aspose.Slides for Java Distorts Chart Data Labels in a PowerPoint Presentation

Dear Aspose Support Team,

I hope this message finds you well. We are currently facing a critical issue with data labels in PPTs generated using Aspose within our Spring Boot application.
Below are the steps in sequence which explain the issue :

  1. Master Template and Data Selection:
    • Our scatter plot is built upon a master template where cell values are pre-selected to ensure accurate data representation.

image.png (69.2 KB)

Here we can see “Value From Cells” Label option is checked in the template .

  1. Data Plotting in Spring Boot:

    • Aspose is utilized in our Spring Boot application to seamlessly plot data in the chart, facilitating a dynamic and interactive user experience.
  2. Code for Putting Values in Excel:

    • The following is a snippet of the code responsible for populating values in the data Excel for the chart:

image.png (203.8 KB)
image.png (150.0 KB)
image.png (117.2 KB)

  1. Unchecked Data after PPT Generation:
    • Post PPT generation, the data appears unchecked, although our code validates that the values from the cell persist as true until the final step.

image.png (94.5 KB)

Here we can see post data population , the "Value from cells " label option has become unchecked .

  1. Issue After Editing and Saving PPT:
    • After this , upon editing any section of the downloaded PPT and subsequently saving it, the data labels in entire ppt transforms into “Cell_Range” instead of retaining the original data label.

image.png (92.0 KB)

  1. Troubleshooting Efforts:
    • Despite exhaustive efforts on our end utilizing the Aspose library, we have been unable to rectify the issue. Our suspicion is that the problem may be rooted in the Aspose library during the PPT generation process.

We urgently request your expert assistance in thoroughly investigating and resolving this matter. If additional details or diagnostics are required, please inform us, and we will promptly provide the necessary information.
Your swift attention to this critical issue is highly appreciated.
Thank you for your time and unwavering support.

Best regards,
Anishek Raman Bharti

@Anishek,
Thank you for contacting support.

We are sorry that you encountered the problem you described and will do our best to help you. Please check your results using the latest version of Aspose.Slides for Java if possible. If the issue persists, please share the following files and information:

  • input presentation file
  • text code example that reproduces the problem (without the code related to your app as much as possible)
  • output presentation file
  • OS version on which the code was executed
  • JDK version in your app
  • Aspose.Slides version you used

@andrey.potapov

Info you needed for the issue :

1 ) Input presentation file and Output ppt file
a ) Input file name in attachment :
Concept_eValuate_Dashboard_Full_Report_master_template.pptx

  b ) Output Presentation File : 
  Concept eValuate Dashboard Full Report (1).pptx

PPT files.7z (3.7 MB)

2 ) text code example already shared in the problem topic
3) OS version : Windows 10 in local ; AKSUbuntu-2204gen2containerd-202310.31.0 in AKS
4 ) JDK version : JDK 17
5 ) Aspose versions:

       <!-- https://mvnrepository.com/artifact/com.aspose/aspose-cells -->
       <dependency>
           <groupId>com.aspose</groupId>
           <artifactId>aspose-cells</artifactId>
           <version>16.11.0</version>
       </dependency>
        <dependency>
           <groupId>com.aspose</groupId>
           <artifactId>aspose-slides</artifactId>  
           <version>19.10</version>
           <classifier>jdk16</classifier>          
       </dependency>

@Anishek,
Thank you for the additional information.

Unfortunately, we need a separate code example (as text, not an image) or project example that we can run on our end. Could you please prepare it?