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.
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.