Vertical Line in chart is misaligned

Dear Aspose,
sending example showing bug in vertical line alignment:
Bug-828172-VerticalLineDifferenceInAlignment.png (135.9 KB)

As per image - there is vertical line before 15 drawn by Aspose, but after 15 when displayed by Excel or when looking into export from Excel to PDF.

Please see the attached application:
Bug-828172-ChartLineNotAligned.zip (264.9 KB)

Results produced on Windows 11 with Aspose Cells 24.5.

Best regards
Pavel

@ottap,

Thanks for the template XLSX file and screenshot.

After an initial test, I am able to reproduce the issue as you mentioned by using the following sample code with your template XLSX file. I found vertical line in the chart is misaligned in the output SVG.

Workbook workbook = new Workbook("e:\\test2\\Project Jupiter - Final Dealtool.xlsx");

// Access first worksheet
Worksheet worksheet = workbook.Worksheets[0];

// Access first chart inside the worksheet
Aspose.Cells.Charts.Chart chart = worksheet.Charts[0];

// Set image or print options
Aspose.Cells.Rendering.ImageOrPrintOptions opts = new Aspose.Cells.Rendering.ImageOrPrintOptions();
opts.ImageType = ImageType.Svg;

// Save the chart to svg format
chart.ToImage("e:\\test2\\out1.svg", opts);

We require thorough evaluation of the issue. 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-55818

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.

Hi @ottap
We optimized this problem and it will take effect in version 24.6 as shown in the figure below.
240605.png (26.8 KB)

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