Blazor Chart with Export Example.
This sample demonstrates client-side exporting of the chart, enabling you to export its data to Excel and CSV formats. Additionally, it allows you to save the chart in image formats such as JPEG, PNG, SVG, and PDF.
Properties
Export Type
|
|
File Name |
In this example, you can see how the export functionality works. The rendered chart can be exported in JPEG, PNG, SVG, and PDF formats. Data from the chart can also be exported to Excel and CSV files.
By clicking the Export button, you can export the chart to a specific type using the ExportAsync method. When using this method, parameters such as the export type and file name are vital.
More information about the export can be found in this documentation section.