Re: Graphic with svg data?

2024-01-14 Thread Ovilia
This seems to be working for me: https://echarts.apache.org/examples/en/editor.html?c=pictorialBar-hill&code=G4QwTgBADiUKZgCIgC4gKoCUCSEC8AUBBAOQAmqIAXAJYC2IA5nAPRQB2jA3AEYgDOcAGwAWADQ0AagCEA8pgDuABgDSAcUYB7AIK7tAOQDK6ABYBRdIz0ApK3oCeAYW0BNPY8aZMKqHu2OADWlsAHUAgFk9fgAVPQAZMwUzbTooBTc9NQDMADEQgAlMaJ

Graphic with svg data?

2024-01-11 Thread nicke
How can you show svg data in a Graphic element? I can get it to work with data that is data:image/png like "paperDataURI" in the example [1]. But not with data:image/svg+xml Something like: graphic: { elements: [ { type: 'image',