Content-Length: 94298 | pFad | http://www.telerik.com/aspnet-core-ui/documentation/html-helpers/chartwizard/export

ASP.NET Core Chart Wizard Export Options - Telerik UI for ASP.NET Core
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.telerik.com/aspnet-core-ui/documentation/html-helpers/chartwizard/export

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy