Exporting/Printing Menu

This feature allows a user to print a chart displayed by the control or export it to one of the supported document formats. The control displays an "Exporting/Printing" button when exporting is enabled, which invokes a drop-down menu that lists exporting and printing commands. The following document formats are supported: PNG, PDF, JPEG, SVG and GIF.

@model IEnumerable
    .TitleText("Confections Sales")
    .SettingsExport(settings =>settings
        .Formats("JPEG", "PNG", "SVG", "GIF", "PDF")
    .SeriesCollection(series => series
            .Label(label => label
                .Format(format => format

Export and Printing API

This demo illustrates the ExportTo and Print client API methods used to initiate exporting and printing from code using the Print and Export buttons above the Chart. Clicking the Print button invokes the browser's Print dialog and clicking the Export button saves the chart as a PNG file to your local storage.

    .TitleText("Relative Masses of the Heaviest Solar System Objects")
    .ArgumentAxis(axis => axis
        .Label(label => label
    .ValueAxisCollection(axis => axis
            .TitleText("Mass Relative to the Earth")
    .SeriesCollection(series => series
            .Point(point => point
function onExportClick() {
    exportAndPrintingAPI.exportTo("png", "mass_chart");
function onPritClick() {
Screen Size
Color Themes
Demo QR Code