Hi,
I have an application in which I have excel workbook with Data Label on chart and when I save it it's (data label) moving.
Please provide help.
Thanks.
Hi,
I have an application in which I have excel workbook with Data Label on chart and when I save it it's (data label) moving.
Please provide help.
Thanks.
Hi,
Hi Babar,
Thanks for looking into this issue.
Here is the code you can use to reproduce this issue
const string excelFile = @"C:\Users\mpatel\Desktop\Chart Test.xls";
const string excelFile1 = @"C:\Users\mpatel\Desktop\Chart Test1.xls";
var wb = new Workbook();
wb.Open(excelFile);
wb.Save(excelFile1);
Here I am opening excel file which have chart with data label and saving it back with other file name. Also if you not able to reproduce this issue open this original file move data labels manually and try again.
Note:
I attached excel file here and this is Office Excel 97-2003 Worksheet.
I am using v2.0.50727 Aspose.Cells runtime version and version 5.3.3.0.
Hi,
Hi,
I tried this new method with latest release you provided and still no luck still having same issue
[Test]
public void Test1()
{
const string excelFile = @"C:\Users\mpatel\Desktop\Chart Test.xls";
const string excelFile1 = @"C:\Users\mpatel\Desktop\Chart Test1.xls";
var wb = new Workbook(excelFile);
wb.Save(excelFile1, SaveFormat.Excel97To2003);
}
Copy this method and run it notice "200" data label.
I have attached image of both files and highlighted the difference in it.
Let me know if you need more info.
Thanks.
Hi,
Oops sorry! here you go.
Hi,
If I open your template file and output file (by Aspose.Cells) into MS Excel 2003, both files display the chart same, could you check it on Excel 2003 and you will find the chart is fine similar to the template file.
Since your file is Excel 2003 (XLS), so we follows MS Excel 2003 standards. If your file format is regarding Excel 2007/2010, we would follow Ms Excel 2007/2010 behaviors.
Thank you.
Yes I have Office 2007 installed on my machine and we want to make this work for office 2007. I compared both files on office 2003 as well there is still slide difference in "200" data label position as well.
Note:
We create excel file and save it as a "Excel 97-2003 Workbook (.xls)" in Office 2007 in our application.
Hi Meet Patel,
I was able to reproduce this issue. Below is my code. Please see the screenshot. Also attached the source and output file. I have tested it with the latest version Aspose.Cells
for .NET v5.3.3.1 and used Excel 2010 to view it.
This issue has been logged as CELLSNET-27794.
C#
Hi,
When you axpect to have this fix ready?
Thanks,
Meet
Thanks I will try this out.
The issues you have found earlier (filed as 27794) have been fixed in this update.