We have a spreadsheet which we are exporting to PDF and XLS using your Aspose.PDF and Aspose.Cells libraries.
The source data is a simple 3 columns by 4 rows of data, with a chart that plots that data. We turn on data labels for the chart, and also set custom axis bounds (min 0, max 10000). Some of the data values exceed this 10000 limit.
When exported to XLS, the data labels for all data points below 10000 are displayed as expected. However, the other data values overflow the plot area of the chart and therefore you cannot see the top edge of the bar representing the data point (or the corresponding data labels).
But when the same data/chart is exported to PDF, all the data labels seem to appear, even for the ones that overflow the plot area, up to the top edge of the chart area. This is inconsistent with the XLS rendering, and not what we are expecting.
Can you please confirm whether this is a bug? Is there a possible workaround to fix this?
I have attached both the PDF and XLS files so you can see the problem.
AsposeDataLabelDisplay Bug 56960.zip (30.7 KB)