Chart Title Alignment changed from left to center after save

We are using Aspose Cells .NET to copy a template file then populate with data. Template file contains charts with chart titles text formatted left align. After Saving chart titles change to center align. We want the chart titles to stay as they were - left align.

Simple Code Example:

static void Main(string[] args)
{

  SetLicense();

  // Create a Workbook.
  Workbook excelWorkbook0 = new 
  Workbook("C:\\Aspose_Chart_Title_Align\\Original_Chart_Title_Left.xlsx");

  //Save Workbook
  excelWorkbook0.Save("C:\\Aspose_Chart_Title_Align\\AfterCopy.xlsx");

}

Before:
image.png (2.6 KB)

After:
image.png (2.6 KB)

@slfaust can you please attach the template file, and the source code that you are using to populate the data used in the chart?

Aspose_Chart_Title_Align.zip (26.7 KB)

This .Zip contains before and after Excel files. The problem happens with just creating a workbook object from the Original_Chart_Title_Left.xlsx file then saving it to the AfterCopy.xlsx - see code in original post. The chart title changes from left align to center align - see the SECOND LINE in Excel file. It changes.

@slfaust
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSNET-53258

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

The issues you have found earlier (filed as CELLSNET-53258) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi