New to Telerik UI for ASP.NET CoreStart a free 30-day trial

Export Options

By default, the generated chart in the Chart Wizard can be exported to PDF, SVG, or PNG formats.

For greater control over the exported file, configure the respective Pdf() and Image() export settings within the ExportOptions() configuration of the component. For example, you can specify the desired paper margins and size, title, image dimensions, and more.

The following example demonstrates how to customize the default export options of the Chart Wizard.

Razor
    <div class="container">
        @(Html.Kendo().ChartWizard<Product>()
            .Name("chartwizard")
            .ExportOptions(export =>
            {
                export.Filename("Month_Report");
                export.Pdf(pdf => pdf.PaperSize("A4").Title("Month Report").Landscape(true));
                export.Image(image => image.Width(1900).Height(1200));
            })
            .DataSource(dataSource => dataSource
                .Read(read => read.Action("Read", "ChartWizard"))
            )
            .DataColumns(columns =>
            {
                columns.Add().Field(f => f.ProductName).Title("Product Name");
                columns.Add().Field(f => f.Quantity);
            })
        )
    </div>

See Also

In this article
See Also
Not finding the help you need?
Contact Support