New to Kendo UI for Angular? Start a free 30-day trial

Export Chart Data to Excel

Environment

ProductProgress® Kendo UI® for Angular Chart

Description

I want to export the data from a Kendo UI for Angular Chart to an Excel file. How can I achieve this?

Solution

While the Chart component may not offer a direct method for exporting data to Excel, you can still achieve this functionality by following a few simple steps:

  1. Create a Custom Workbook: Utilize the Excel Export component to generate a custom Workbook tailored to your data export needs.

  2. Map Data to Workbook: Carefully map the data from your Chart component to the newly created Workbook. This ensures that the exported Excel file accurately represents your chart data.

The following example demonstrates a basic implementation of mapping and exporting data from a Chart to an Excel document.

Example
View Source
Change Theme:

In this article

Not finding the help you need?