| Summary: | SVG charts not showing consistently in HTML output format | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | vivek <vivextra> |
| Component: | BIRT | Assignee: | Birt-Chart-inbox <Birt-Chart-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Maggie Shen <lshen> |
| Severity: | major | ||
| Priority: | P3 | CC: | bluesoldier, wyan |
| Version: | 2.6.0 | ||
| Target Milestone: | 3.7.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
vivek
Any update on this issue - this is really stopping as from moving forward with Birt 2.6 upgrade. We can not use jpeg as we need chart interactivity. The problem seems to be only with html output type with SVG charts. If there is any workaround then that could work for us too, until we wait for the complete fix. Little more information that we have noticed comparing Birt 2.6 to 2.3, where the SVG charts were working fine, 1) In 2.3, the SVG charts were generating as PNG images using <map> tag in HTML format. 2) In 2.6, the SVG charts are generating as SVG using <embed> tag in HTML Looks like in Birt 2.3, SVG images always showed up as png. Is there a way to default to that behavior again in 2.6? We still want to keep the charts as SVG in rptdesign as if the browsers have the SVG viewer installed they will show up as SVG. I can not reproduce this issue in our environment.
SVG chart always showup everytime I refresh in the browser.
If the issue here is:
>>We still want to keep the charts as SVG
in rptdesign as if the browsers have the SVG viewer installed they will show up
as SVG.
As you comments in the birt-exchange, you can add render option to your code:
renderOption.setSupportedImageFormats( "PNG;GIF;JPG;BMP;SWF")
,then SVG image will be rendered as png.
Set as worksforme based on comments #3 |