i have an below excel file,
1235.zip (24.4 KB)
on the first sheet ,there are 4 charts,i am using aspose.cells 20.7 version.
my c# coedes
var excelFileFullname = $@"O:\1235.xlsx";
using var workbook = new Workbook(excelFileFullname);
var sheet = workbook.Worksheets.First();
var charts = sheet.Charts.ToList();
for (var i = 0; i < charts.Count; i++)
{
var chart = charts[i];
chart.ToImage($"img{i}.jpg", 100);
}
after running the above codes, i got 4 image files,
for example ,the exported image :
img0.jpg (31.8 KB)
but the chart the chart in excel :
a.JPG (20.8 KB)
they are different (the one is showing number 131,but the another is showning 132)
i uploaded the 4files:
img0.jpg (31.8 KB)
img1.jpg (28.4 KB)
img2.jpg (22.8 KB)
img3.jpg (22.2 KB)
can you please look at this issue? is ther any wrong in my codes?
thank you very much