Word Charts (Java)

Hi,
i have to modify the series of an existing chart. But retain the formating of the currently existing series.

I try to add a new series using ChartSeriesCollection.add() and removing the old series. This works, but all color and other information from the old series is lost.

Can you tell me how i can modify(and add) points of an existing series? Or to clone all properties from an existing to a new series?

Using Java.

Best regards
joachim

@uqjp

Unfortunately, Aspose.Words does not provide API to update chart’s data. We logged this feature request as WORDSNET-14398 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

Could you please attach following resources here for testing:

  • Your input Word document.
  • Please attach the output Word file that shows the undesired behavior.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please create a simple Java application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

The issues you have found earlier (filed as WORDSNET-14398) have been fixed in this Aspose.Words for .NET 23.5 update also available on NuGet.