Home
Intelligence (Analytics)
Multiple BIRT chart issues
abhay_bc
Hello Experts,
I've been using BIRT in a web app ( JSF ). I have been able to successfully use cross tabs and charts, except for some issues i've listed here :
1. chart quality
Charts not rendering with good quality except if used SVG. I tried jpg/png but the image and fonts appear to be resized/stretched
2. browser incompatibility with SVG
- SVG charts do not work with IE 7 and 8
3. charts can not be exported into xls ( any type - jpg/png/svg )
- SVG export throws exceptions
- other format exports blank chart
4. Tooltip issues
(a) SVG charts show double tooltips
(B) png charts show tooltip only to the first chart in the JSF / xhtml page
5. Cuts off legend
See attached document with screenshots here
Find more posts tagged with
Comments
CBR
1) There is a property called imageDPI. It is a property of the report itself. So click on any blank area in your report. Go to property editor->Advanced. In that list you will find a property imageDPI. Increase that value to get chart images in better quality. The default is 96dpi which is too low. If you want to print the charts it should be 300dpi.<br />
<br />
2) SVG is a format that describes vector graphics using XML, so it's not a real image format. Unfortunately Microsoft doesn't offer out of the box support to render SVG images. So it's not an issue of BIRT, it is an issue of Microsoft. If you want to enable IE to render SVG you can install a third party IE plugin. It is from acrobat and can be downloaded over here: <a class='bbc_url' href='
http://www.adobe.com/svg/viewer/install/'>http://www.adobe.com/svg/viewer/install/</a><br
/>
<br />
3) The default xls emitter of BIRT doesn't support charts or any other image in the output. It is a known limitation. If you want to have images in xls you have to switch to a third party xls emitter like tribix or Yaytays excel emitter.<br />
<br />
4) and 5) would be worth to file a bug for. Can you do that using bugs.eclipse.org?<br />
<br />
<blockquote class='ipsBlockquote' data-author="'abhay_bc'" data-cid="108994" data-time="1346408307" data-date="31 August 2012 - 03:18 AM"><p>
Hello Experts,<br />
I've been using BIRT in a web app ( JSF ). I have been able to successfully use cross tabs and charts, except for some issues i've listed here :<br />
<br />
1. chart quality <br />
<br />
Charts not rendering with good quality except if used SVG. I tried jpg/png but the image and fonts appear to be resized/stretched<br />
<br />
2. browser incompatibility with SVG<br />
<br />
- SVG charts do not work with IE 7 and 8<br />
<br />
3. charts can not be exported into xls ( any type - jpg/png/svg )<br />
- SVG export throws exceptions<br />
- other format exports blank chart<br />
<br />
4. Tooltip issues<br />
(a) SVG charts show double tooltips <br />
(B) png charts show tooltip only to the first chart in the JSF / xhtml page<br />
<br />
5. Cuts off legend<br />
<br />
<br />
See attached document with screenshots here
abhay_bc
Thanks for the responses cbrell.
1) I tried using various values of dpi setting with no effect on the generated png. The only way I am able to get good results, is SVG.
2) tried using the adobe plugin for svg viewer. Works good, thanks ! Now I am able to view svg charts in lower IE versions. ( tested with IE8 )
3) I'll try the extended emitters
4) Still have the double tooltip issue with most browsers. The browser with the adobe svg plugin shows only one tooltip correctly. Other browsers with built-in svg player show 2 tooltips. Does that ring any bell ?
5) was able to fix legend getting cut-off, by using combination of "Auto Layout" and fixed height and width.
Thanks,
Abhay