Chart transparent line is visible and dashed line is printed like dotted

Dear Aspose.
As you can see from example.

When chart is printed there are 2 differences in comparison to visual from Excel for Desktop:

  1. transparent line is visible in Aspose results
  2. dashed line is printed like dotted line

Attaching image demonstrating the difference in output:
Bug-1331580-Chart-with-transparent-line-printed.xlsx-Chart-25.5-Difference.png (108.8 KB)

Attaching sample application demonstrating the issue:
Bug-1331580-Chart-with-Transparent-Line-printed.zip (247.0 KB)

We have used Windows and latest Aspose.Cells 25.5 to produce the results.

Best Regards
Pavel

@ottap

It seems you are experiencing two issues with chart rendering using Aspose.Cells:

  1. Transparent Line Visibility: The transparent line that appears in your output is likely due to how Aspose.Cells handles transparency compared to Excel. In Excel, transparent lines may not be rendered visibly, but Aspose.Cells might be interpreting them differently, causing them to show up in the output.

  2. Dashed Line Rendering as Dotted: The dashed lines in your chart are being rendered as dotted lines in the output. This discrepancy can occur due to differences in how line styles are interpreted between Excel and Aspose.Cells.

To address these issues, you can try the following:

  • Check Line Style Settings: Ensure that the line styles are set correctly in your chart configuration. You may need to explicitly define the line styles in your code to match what you see in Excel.

  • Update Aspose.Cells: If you are using an older version of Aspose.Cells, consider updating to the latest version, as there may have been fixes or improvements related to chart rendering.

  • Rendering Options: Review the rendering options available in the Aspose.Cells API. You can customize how charts are rendered, which might help in achieving the desired output.

If these suggestions do not resolve the issues, please consider providing a minimal reproducible example or additional details about your chart configuration for further assistance.

For more information on chart rendering and customization, you can refer to the Aspose documentation on Chart Rendering.

If you have any further questions or need additional help, feel free to ask!

@ottap
We have reproduced your issue and 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-58554

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
For this issue, our optimized result is as follows, and it will take effect in version 25.7.
MyOutput.zip (3.5 KB)

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