Home
Analytics
BIRT Chart Graph is not being displayed
olavtar
Hi,
I have a simple chart graph under my report data and I can see it inside the eclipse localy but when I copy my design file to a different location and run the report as I usually do, the graph is not being displayed. If I generate pdf i can still see the graph, but not in the html version of the report. It seems like the image is missing. Am i missing some kind of a set up?
Thank you,
Sincerely,
Olga
Find more posts tagged with
Comments
mwilliams
Hi Olga,
What do you mean by a different location? Deploying or just with the designer on another machine? Can you recreate the issue you're having with the sample database and attach the report design in here?
olavtar
All my rptdesign files are in one location where I access it from my java code. I'm able to generate the report it just the graph is not being displayed. It is actually a different machine where I copy the rptdesign files to but the server is my local machine(at least for now). Attached is the design file.
Thank you, Michael.
olavtar
Michael, <br />
Another thing that I noticed is that when i do view source, the image tag for the graph points to my local computer: I was actually able to see find those images after every time i run the report, but they are generated and saved on my local machine which is a server(for now) in the temp directory. Any solution for that? <br />
<br />
file:/C:/DOCUME~1/olavtar/LOCALS~1/Temp/custom19.jpg</img>
olavtar
Hi Michael,
Here is the attachement of what i see in the browser.
Thank you,
Olga.
olavtar
Michael,
Please, don't worry, I figured it out. I was missing a setting of an ImageDirectory folder in java. Thanks.
Sincerely,
Olga.
mwilliams
Olga,
Glad you found a solution. Let us know whenever you have questions.
allwynd
Hi,
I have a similar setup as mentioned in this post. My generated report graph can be viewed in pdf but not as html.
The generated html report is copied to the file location on the server from where it is served to the client. However, when the report is viewed in the browser the graph is not displayed when rendered as html. The generated image has a local path (file:///D:/Birt/Images/custom1e121e12121ce7e47771.png), which is the server path (when i right click on the image).
Thanks.
Al