Generate SVG images for improved Rendering and potentially adding Interactivity

Hi,

I’d like to suggest to generate SVG files instead of PNG. If a PDF or HTML report is generated and multiple images are positioned alongside each other, SVG would allow to zoom in while PNG would be barely readable.

Since there are several libraries available which add interactivity to SVG charts, it would also be a great future feature providing interactive HTML-Reports.

Best
Mike

PS: The JFreeChart already have the option but since visualization node technology was changed to ECharts, continuing to consolidate the existing feature would certainly:

  1. help adoption rates which in turn
  2. reduces code maintenance efforts
  3. eases support by the community
  4. reduces required effort to start kniming
    5 would just be awesome :partying_face:

Hey Mike,

we already have an internal ticket to add SVG support to the new views (internal reference UIEXT-714). ECharts offers the possibility to switch between a canvas (png) renderer and a SVG renderer. Currently we use the canvas renderer as this is more performant in general, but we know that for reporting SVG’s might be the better option. I will add a +1 to the ticket for you.

Greetings,
Daniel

2 Likes

Thanks Daniel. Just in case UIEXT-714 will get worked on, your colleagues might want to kill two birds with one stone as both, the Report PDF and HTML Writer, do not support SVG and dur to the lack of support of negative values in the chart nodes, creating reports is negatively, pun intended, impacted.

Cheers
Mike

Internal ticket ID: UIEXT-1163
Fix version(s): 5.4.0
Other related topic(s): -