New to Telerik Document Processing? Download free 30-day trial

How to Handle Blank Charts Images when exporting XLSX documents to PDF format


Version Product Author
2024.1.124 RadSpreadProcessing Desislava Yordanova


When using the SDK example, Export Chart, the exported chart images might get exported as blank images in some cases. This article gives information how to handle this undesired behavior.

XLSX document with Charts Exported PDF document with Blank charts
XLSX document with charts Exported PDF with missing charts


The SDK example uses the ChartModelToImageConverter class which is readily available in the Telerik.Windows.Controls.Spreadsheet assembly and uses internally the RadChartView control to visualize the chart and create an image.

If you are using different versions of Telerik products in your project, this can sometimes cause compatibility issues. Ensure that all references to Telerik products in your project are the same version, including the suffix (e.g., .40). If necessary, remove all references and add them again using the correct DLLs.

The main reason behind the exported blank charts is if their style is missing. Usually, this is the case when the NoXaml assemblies are referred for Telerik.Windows.Controls.Spreadsheet and Telerik.Windows.Controls.Chart. XLSX document with charts

Ensure that the Xaml assemblies are used from the UI for WPF suite. The Xaml assemblies embed also all styles of the controls. Thus, the exported chart images will be as expected.

Exported PDF document with charts

See Also

In this article