VikasAgarwal1984 commented on issue #16098:
URL: https://github.com/apache/echarts/issues/16098#issuecomment-977832964
AFAIK, Input for pdfmake is svg html or image(png/jpeg) base64 data.
Currently getDataURL({type: 'svg'}) returns
data:image/svg+xml;charset=UTF-8......................
that is not working as an input.
Currently we read the outerHTML for rendered svg html element and feed to
pdfmake api.
Created a stackblitz to demonstrate same. Please see console for error.
https://stackblitz.com/edit/angular-ivy-sfasil?file=src%2Fapp%2Fechart-basic%2Fechart-basic.component.ts
Is there an Api to get jpeg/png or svg html in case of svg rendering.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]