I’m using Aspose.Cell 6.0.0 because of another chart issue with the latest version.
Issue:
Excel allow you to add formulas into the data labels of charts ie: “=AD12” so that the datalabel is sources to cell AD12 rather then the category name of the data source. When just opening and saving the workbook using Aspose.Cells, the formula are removed from the charts.
Please paste your sample code for creating chart and attach the Excel file(s) here, we will check your issue soon.
Also, attach a manually created template Excel file (created in MS Excel) with your desired chart labels (set with formulas as you mentioned). We want to check whether the formulas are retained.
Yes thank you, version v6.0.1.9 has corrected the issue with formulas in the data labels and an issue with missing charts when using the worksheet.Copy function. However, I discovered another issue, the charts data labels font color resets back to the default color, even if it was set to another color ie: red.
Please paste your sample code for creating chart (to reproduce the data labels font color issue) and attach the Excel file(s) here, we will check your issue soon.
After further testing I notice another issue with the formulas in the data labels of charts when using the Worksheet.Copy and Worksheet.Cells.CopyRows functions to copy sheets from one workbook to another or certain rows, the those charts that are being copied, the data label formulas are missing again.