In this example, you can see how to export and print the rendered linear gauge. The Linear Gauge can be
exported to JPEG, PNG, SVG, and PDF formats. Print functionality is done by print
method when allowPrint
is set as true. Export functionality is done by
export
method when allowImageExport
and
allowPdfExport
is set as true.
Injecting Module:
To make use of the print and export support, we need to inject the Print
, ImageExport
and
PdfExport
modules into the services
.
More information about print and export can be found in this documentation section.