We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Setting Series Names Dynamically throws java.lang.IllegalStateException | LINQ Reporting

i’m test

But I get an error in the SetChartSeriesNameDynamically method.

Exception in thread "main" java.lang.IllegalStateException: An error has been encountered at the end of expression 'Time]>'. Can not get the value of member 'Time' on type 'class java.lang.Object'.

So I created the SetChartSeriesNameDynamically2 method.
But this also gives an error.

I want to set series names dynamically.

example.zip (21.6 KB)


We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-2559. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSJAVA-2559) have been fixed in this Aspose.Words for .NET 21.8 update and this Aspose.Words for Java 21.8 update.

Hi @tahir.manzoor
is there any update on WORDSJAVA-2559



This issue WORDSJAVA-2559 was resolved in Aspose.Words for Java 21.8.

Thanks for the update!