Free Support Forum - aspose.com

Render Charts with Bevels on Series


#1

Hello,

I am having a problem with a chart series that already has a Format3d Top Bevel. It seems like the Top Bevel won’t be rendered when using Aspose. I can create a test case for this, but I just wanted to confirm that top bevels, soft edges, shadows, glows, are rendered in Aspose Cells or are they just properties.

Joe

Edit: FYI I believe this issue is related to CELLSNET-45882 in Chart Rendering in PDF


#2

This is an example of the code.

    Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(ms);
    Worksheet worksheet1 = wb.Worksheets[0];
    chart1.RefreshPivotData();
    chart1.Shapes.UpdateSelectedValue();
    chart1.Calculate();
    chart1.ToImage($@"D:\testImage.emf", ImageFormat.Emf);

The series of the charts all have a top bevel (chart1.Nseries[0].ShapeProperties.Format3d.TopBevel), but it is not getting rendered in ToImage(). The saved workbook still holds onto the top bevel property and when it is opened in excel, the bevels are there. Are these properties and not able to be rendered in Aspose Cells.


#3

@bother7,
Yes, you are right that this issue is still pending due to its complexity. However, for our reference, you may please share your sample template file. We will consider it as well if we plan to resolve the issue. In the near future, there is no plan to work on this issue as other high priority tasks are already there in the queue. For your convenience, I am attaching this ticket here as well so you will be automatically notified once any feedback is ready to share.


#4

Attached is a sample project showing the effects lost when rendering the chart in Aspose.

AsposeRenderBevel.zip (6.9 MB)


#5

@bother7,
Thank you for sharing data. I have recorded it with the ticket for our future reference. You will be notified once any update is ready for sharing.