JavaScript/jQuery Sankey - export
Type:
These features allow a user to export your UI component into a document or print it. When exporting is enabled, the "Exporting/Printing" button appears in the UI component. A click on it invokes a drop-down menu that lists exporting and printing commands. The following formats are supported for exporting into: PNG, PDF, JPEG, SVG and GIF.
See Also
backgroundColor
Type:
Default Value: '#ffffff'
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
formats
Default Value: ['PNG', 'PDF', 'JPEG', 'SVG', 'GIF']
Accepted Values: 'GIF' | 'JPEG' | 'PDF' | 'PNG' | 'SVG'
printingEnabled
Enables the printing feature in the UI component. Applies only if the export.enabled property is true.
Type:
Default Value: true
svgToCanvas
A function that renders SVG markup on the HTML canvas. Required to export custom SVG elements (for example, markerTemplate).
Type:
Function parameters:
svg:
canvas:
Default Value: undefined
Feedback