File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -727,6 +727,8 @@ export default function LineChart({
727727 ] ) ;
728728
729729 const { register} = useExportingRegistry ( ) ;
730+
731+ // https://www.amcharts.com/docs/v5/reference/exporting/ docs for export settings from amcharts
730732 const exportSettings = useMemo ( ( ) => {
731733 return {
732734 filePrefix : exportedFileName ,
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ export default function ExportDialog(): JSX.Element {
4141 const lineDataUrl = toDataUrl ( lineImg ) ;
4242 const mapDataUrl = toDataUrl ( mapImg ) ;
4343
44+ /**
45+ * More information how to work with pdfmake to create a pdf: https://pdfmake.github.io/docs/0.1/document-definition-object/
46+ */
4447 const doc : TDocumentDefinitions = {
4548 pageSize : 'A4' ,
4649 pageOrientation : 'portrait' ,
You can’t perform that action at this time.
0 commit comments