Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Charts not displayed
Charts not displayed [message #217064] Tue, 06 February 2007 11:49 Go to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

When I am deploying reports using Tomcat, all works fine if my report
include a table. If I also put a chart inside.. nothing is displayed

Am I doing something wrong? Missing some configuration parameters?

Thanks

Matteo

Linux
Tomcat 4.1.31
birt-runtime 2.1.0
Re: Charts not displayed [message #217158 is a reply to message #217064] Tue, 06 February 2007 18:21 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Did you check this entry in the FAQ: http://wiki.eclipse.org/index.php/BIRT/FAQ/Charts2.1#Charts_ not_rendering_on_Unix_systems

Thanks,

David

> When I am deploying reports using Tomcat, all works fine if my report
> include a table. If I also put a chart inside.. nothing is displayed
>
> Am I doing something wrong? Missing some configuration parameters?
>
> Thanks
>
> Matteo
>
> Linux
> Tomcat 4.1.31
> birt-runtime 2.1.0
Re: Charts not displayed (Please help) [message #217189 is a reply to message #217158] Tue, 06 February 2007 18:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayous2004.yahoo.com

Hi,
I tried several things related to this issue. I have deployed a report
with a pie chart and deployed the same on Tomcat (Windows). When I tried
to access that report I always run into this issue
"java.lang.noclassDefFoundError"

I researched the FAQ and search engines and realized that I need to add
-Djava.awt.headless=true to Tomcat - Java JVM Options.

Restarted the Tomcat .

Still no luck.

I would really appreciate if someone who resolved this kind of issue can
throw some light.


Looking forward to hear from the experts.
Re: Charts not displayed (Please help) [message #217227 is a reply to message #217189] Tue, 06 February 2007 21:12 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Can you post the full stack trace?

Thanks,

David

> Hi,
> I tried several things related to this issue. I have deployed a report
> with a pie chart and deployed the same on Tomcat (Windows). When I
> tried
> to access that report I always run into this issue
> "java.lang.noclassDefFoundError"
> I researched the FAQ and search engines and realized that I need to
> add -Djava.awt.headless=true to Tomcat - Java JVM Options.
>
> Restarted the Tomcat .
>
> Still no luck.
>
> I would really appreciate if someone who resolved this kind of issue
> can throw some light.
>
> Looking forward to hear from the experts.
>
Re: Charts not displayed (Please help) [message #217266 is a reply to message #217227] Wed, 07 February 2007 01:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayous2004.yahoo.com

Thanks for following up.

As such I dont see any stack trace in Tomcat/Logs. Is there any other
place I should be looking for. All I get a exception message: Java
ClassCastException: NoClassDefFoundException.

I looked at Tomcat Logs and they look pretty clean.

Another thing I noticed was if I run the report using localhost it runs
without any issues.

If I try to run the report from a remote machine then I get the above
exception.

Thanks
RG
Re: Charts not displayed (Please help) [message #217311 is a reply to message #217266] Wed, 07 February 2007 07:53 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Hi,

Can you provide the config of your local and remote machine? Are you certain
the remote machine has the headless setting set?

Thanks,

David


> Thanks for following up.
>
> As such I dont see any stack trace in Tomcat/Logs. Is there any other
> place I should be looking for. All I get a exception message: Java
> ClassCastException: NoClassDefFoundException.
>
> I looked at Tomcat Logs and they look pretty clean.
>
> Another thing I noticed was if I run the report using localhost it
> runs without any issues.
>
> If I try to run the report from a remote machine then I get the above
> exception.
>
> Thanks
> RG
Re: Charts not displayed [message #217342 is a reply to message #217158] Wed, 07 February 2007 10:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

I have just tried it and I have also installed birt-runtime 2.2.0
without solving the problem

Matteo

> Did you check this entry in the FAQ:
> http://wiki.eclipse.org/index.php/BIRT/FAQ/Charts2.1#Charts_ not_rendering_on_Unix_systems
>
>
> Thanks,
>
> David
>
>> When I am deploying reports using Tomcat, all works fine if my report
>> include a table. If I also put a chart inside.. nothing is displayed
>>
>> Am I doing something wrong? Missing some configuration parameters?
>>
>> Thanks
>>
>> Matteo
>>
>> Linux
>> Tomcat 4.1.31
>> birt-runtime 2.1.0
>
>
Re: Charts not displayed [message #217359 is a reply to message #217158] Wed, 07 February 2007 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

with option -Djava.awt.headless=true the report display the table but
not the chart :-(

I have also tried with birt-runtime-2_2_0 and Tomcat 5.5.20

The some configuration on Windows works fine

> Did you check this entry in the FAQ:
> http://wiki.eclipse.org/index.php/BIRT/FAQ/Charts2.1#Charts_ not_rendering_on_Unix_systems
>
>
> Thanks,
>
> David
>
>> When I am deploying reports using Tomcat, all works fine if my report
>> include a table. If I also put a chart inside.. nothing is displayed
>>
>> Am I doing something wrong? Missing some configuration parameters?
>>
>> Thanks
>>
>> Matteo
>>
>> Linux
>> Tomcat 4.1.31
>> birt-runtime 2.1.0
>
>
Re: Charts not displayed [message #217399 is a reply to message #217359] Wed, 07 February 2007 13:43 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
If the exact same configuration works on Windows, it has to be this problem.
Where did you set the headless parameter? What JDK are you using? I recommend
JDK 1.4, but maybe you could try with JDK 5.0 (to test that problem), which
doesn't even need the headless parameter.

Thanks,

David



> with option -Djava.awt.headless=true the report display the table but
> not the chart :-(
>
> I have also tried with birt-runtime-2_2_0 and Tomcat 5.5.20
>
> The some configuration on Windows works fine
>
>> Did you check this entry in the FAQ:
>> http://wiki.eclipse.org/index.php/BIRT/FAQ/Charts2.1#Charts_ not_rende
>> ring_on_Unix_systems
>>
>> Thanks,
>>
>> David
>>
>>> When I am deploying reports using Tomcat, all works fine if my
>>> report include a table. If I also put a chart inside.. nothing is
>>> displayed
>>>
>>> Am I doing something wrong? Missing some configuration parameters?
>>>
>>> Thanks
>>>
>>> Matteo
>>>
>>> Linux
>>> Tomcat 4.1.31
>>> birt-runtime 2.1.0
Re: Charts not displayed (Please help) [message #217406 is a reply to message #217311] Wed, 07 February 2007 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayous2004.yahoo.com

Hi,

Thanks for your quick responses...

1. Does the BIRT Viewer uses any of the Java Run time on Browser? if so
then it makes sense to set the headless=true for browsers JVM? Please
confirm this.


2. The following is the configuration.
----------------------------------------------
Host Machine (Machine Name: MyBIRTHostMachine)
-----------------------------------------------
Windows XP
Tomcat 5.5
BIRT Viewer deployed on TOMCAT WebApps
Browser Tested: FireFox & IE
Sample URL:
http://localhost:9080/birt-viewer/frameset?__report=TopNPerc ent.rptdesign
Type Of Report: Report with a BAR Chart

Result : SUCCESS!!!!

---------------
Remote Machine
---------------
Windows XP (My Laptop)
Browser: Firefox & IE
Sample URL:
http://MyBIRTHostMachine:9080/birt-viewer/frameset?__report= TopNPercent.rptdesign
Result: FAILURE!!! (NoClassDefoundError)

Thanks
RG
Re: Charts not displayed [message #217422 is a reply to message #217399] Wed, 07 February 2007 14:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

On Windows I don't use headless parameters.
JDK is both 1.4.2_08 Windows and Linux

On Linux I set headless parameters in catalina.sh:

"$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.awt.headless=true \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$CATALINA_BASE"/logs/catalina.out 2>&1 &


I have also tried with jre 1.5, it show table without headless parameter
but don't show chart :-(

Thanks,

Matteo



David Michonneau ha scritto:
> If the exact same configuration works on Windows, it has to be this
> problem. Where did you set the headless parameter? What JDK are you
> using? I recommend JDK 1.4, but maybe you could try with JDK 5.0 (to
> test that problem), which doesn't even need the headless parameter.
>
> Thanks,
>
> David
>
>
>
>> with option -Djava.awt.headless=true the report display the table but
>> not the chart :-(
>>
>> I have also tried with birt-runtime-2_2_0 and Tomcat 5.5.20
>>
>> The some configuration on Windows works fine
>>
>>> Did you check this entry in the FAQ:
>>> http://wiki.eclipse.org/index.php/BIRT/FAQ/Charts2.1#Charts_ not_rende
>>> ring_on_Unix_systems
>>>
>>> Thanks,
>>>
>>> David
>>>
>>>> When I am deploying reports using Tomcat, all works fine if my
>>>> report include a table. If I also put a chart inside.. nothing is
>>>> displayed
>>>>
>>>> Am I doing something wrong? Missing some configuration parameters?
>>>>
>>>> Thanks
>>>>
>>>> Matteo
>>>>
>>>> Linux
>>>> Tomcat 4.1.31
>>>> birt-runtime 2.1.0
>
>
Re: Charts not displayed [message #217452 is a reply to message #217399] Wed, 07 February 2007 15:16 Go to previous messageGo to next message
Erica Jackson is currently offline Erica JacksonFriend
Messages: 14
Registered: July 2009
Junior Member
I seem to remember having a similar issue and it had to do with where the
images were being saved on the server. I had to use the HTMLEmitterConfig
to set the imageHandler to a ServerImageHandler.

Here is the code I use to render an HTML report. I don't think I had this
problem with a PDF report.

EngineConfig engineConfig = new EngineConfig();

String engineHome =
Thread.currentThread().getContextClassLoader().getResource("org/eclipse/birt/report/engine/api/EngineConfig.class ").getPath();
engineHome = engineHome.substring(6, engineHome.indexOf("engineapi.jar"));
engineHome = engineHome.replaceAll("\\%20", " ");

engineConfig.setEngineHome(engineHome);

IReportEngine engine;
PlatformConfig pConfig = new PlatformConfig();
IPlatformContext context = new
PlatformServletContext(request.getSession().getServletContex t());
pConfig.setPlatformContext(context);

Platform.startup(pConfig);

IReportEngineFactory factory = (IReportEngineFactory)

Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);

RenderOptionBase options = null;
HashMap map = new HashMap();

// Create the emitter configuration.
HTMLEmitterConfig hc = new HTMLEmitterConfig( );

// Use the "HTML complete" image handler to write the files to disk.
HTMLServerImageHandler imageHandler = new HTMLServerImageHandler( );
hc.setImageHandler( imageHandler );

// Associate the configuration with the HTML output format.
engineConfig.setEmitterConfiguration( HTMLRenderOption.OUTPUT_FORMAT_HTML,
hc );

String userSession = request.getSession().getId();
String hostName = "http://" + request.getServerName() + ":" +
request.getServerPort();

HTMLRenderContext ctx = new HTMLRenderContext();
ctx.setImageDirectory("../webapps/appname/reportimages/" + userSession);
ctx.setBaseImageURL(hostName + "/appname/reportimages/" + userSession);
map.put(EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, ctx);

options = new HTMLRenderOption();
options.setOutputFormat("html");

options.setOutputStream(response.getOutputStream());

engine = factory.createReportEngine(engineConfig);


// Open a report design - use design to modify design, retrieve embedded
// images etc.
InputStream reportStream =
Thread.currentThread().getContextClassLoader().getResourceAs Stream(reportFileName);
IReportRunnable design = engine.openReportDesign(reportStream);

// Create task to run the report - use the task to execute and run the
// report
IRunAndRenderTask task = engine.createRunAndRenderTask(design);

task.setRenderOption(options);
task.setAppContext(map);

// run the report and destroy the engine
task.run();
Re: Charts not displayed [message #217463 is a reply to message #217452] Wed, 07 February 2007 15:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

I am a newbie and I don't understand where should I put the code below
as I've been using birt for just couple days :)

I saw now that birt saves images in following directory:
webapps/birt-viewer/report/images

There are images like custom21.png which are exactly the graphs it
should display in the browser.
Also it always creates .png image even if I ask him to create jpg, svg
or something else..

Thanks

Matteo

Erica Jackson ha scritto:
> I seem to remember having a similar issue and it had to do with where
> the images were being saved on the server. I had to use the
> HTMLEmitterConfig to set the imageHandler to a ServerImageHandler.
> Here is the code I use to render an HTML report. I don't think I had
> this problem with a PDF report.
> EngineConfig engineConfig = new EngineConfig();
>
> String engineHome =
> Thread.currentThread().getContextClassLoader().getResource("org/eclipse/birt/report/engine/api/EngineConfig.class ").getPath();
> engineHome = engineHome.substring(6, engineHome.indexOf("engineapi.jar"));
> engineHome = engineHome.replaceAll("\\%20", " ");
>
> engineConfig.setEngineHome(engineHome);
>
> IReportEngine engine;
> PlatformConfig pConfig = new PlatformConfig();
> IPlatformContext context = new
> PlatformServletContext(request.getSession().getServletContex t());
> pConfig.setPlatformContext(context);
>
> Platform.startup(pConfig);
>
> IReportEngineFactory factory = (IReportEngineFactory)
>
> Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);
>
>
> RenderOptionBase options = null;
> HashMap map = new HashMap();
>
> // Create the emitter configuration.
> HTMLEmitterConfig hc = new HTMLEmitterConfig( );
>
> // Use the "HTML complete" image handler to write the files to disk.
> HTMLServerImageHandler imageHandler = new HTMLServerImageHandler( );
> hc.setImageHandler( imageHandler );
>
> // Associate the configuration with the HTML output format.
> engineConfig.setEmitterConfiguration(
> HTMLRenderOption.OUTPUT_FORMAT_HTML, hc );
>
> String userSession = request.getSession().getId();
> String hostName = "http://" + request.getServerName() + ":" +
> request.getServerPort();
>
> HTMLRenderContext ctx = new HTMLRenderContext();
> ctx.setImageDirectory("../webapps/appname/reportimages/" + userSession);
> ctx.setBaseImageURL(hostName + "/appname/reportimages/" + userSession);
> map.put(EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, ctx);
>
> options = new HTMLRenderOption();
> options.setOutputFormat("html");
>
> options.setOutputStream(response.getOutputStream());
>
> engine = factory.createReportEngine(engineConfig);
>
>
> // Open a report design - use design to modify design, retrieve embedded
> // images etc.
> InputStream reportStream =
> Thread.currentThread().getContextClassLoader().getResourceAs Stream(reportFileName);
> IReportRunnable design = engine.openReportDesign(reportStream);
>
> // Create task to run the report - use the task to execute and run the
> // report
> IRunAndRenderTask task = engine.createRunAndRenderTask(design);
>
> task.setRenderOption(options);
> task.setAppContext(map);
>
> // run the report and destroy the engine
> task.run();
>
Re: Charts not displayed [message #217488 is a reply to message #217463] Wed, 07 February 2007 16:51 Go to previous messageGo to next message
Erica Jackson is currently offline Erica JacksonFriend
Messages: 14
Registered: July 2009
Junior Member
I understand being a newbie. I was once one as well. Actually, I still am
when it comes to some things. :)

This code uses the Report Engine API to generate a report and stream it
back to the user. You would put this code into your own servlet in your
own web application. I don't think you would be able to use BIRT's Web
Viewer Example with this code.

After the report generates in HTML, could you right click on the page and
view the source to see if the image URL matches the location where the
image is actually stored?


Have you tried generating the report in PDF format? Does the chart appear
with that format?
Re: Charts not displayed [message #217730 is a reply to message #217488] Thu, 08 February 2007 07:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

Erica Jackson ha scritto:
> I understand being a newbie. I was once one as well. Actually, I still
> am when it comes to some things. :)
>
> This code uses the Report Engine API to generate a report and stream it
> back to the user. You would put this code into your own servlet in your
> own web application. I don't think you would be able to use BIRT's Web
> Viewer Example with this code.

I'm using birt with php

> After the report generates in HTML, could you right click on the page
> and view the source to see if the image URL matches the location where
> the image is actually stored?


I saw now, thanks to Firefox plug-in, the HTML code for images:

<div>
<img id="AUTOGENBOOKMARK_11" element_type="EXTENDED" iid="/72(QuRs6:0)"
src="/birt-viewer/run?__imageID=custom1.png" alt="" style=" width:
5.906in; height: 2.666in;">
</div>

Could it be a wrong cofiguration parameter? :-(

>
>
> Have you tried generating the report in PDF format? Does the chart
> appear with that format?
Yesss!!

Thanks,

Matteo
Re: Charts not displayed (Please help) [message #217751 is a reply to message #217406] Thu, 08 February 2007 10:30 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
1.No it doesn't.

2. Do you mean BIRT is installed on one machine, and accessing locally works,
while accessing remotely fails?

Thanks,

David

> Hi,
>
> Thanks for your quick responses...
>
> 1. Does the BIRT Viewer uses any of the Java Run time on Browser? if
> so then it makes sense to set the headless=true for browsers JVM?
> Please confirm this.
>
> 2. The following is the configuration.
> ----------------------------------------------
> Host Machine (Machine Name: MyBIRTHostMachine)
> -----------------------------------------------
> Windows XP
> Tomcat 5.5
> BIRT Viewer deployed on TOMCAT WebApps
> Browser Tested: FireFox & IE
> Sample URL:
> http://localhost:9080/birt-viewer/frameset?__report=TopNPerc ent.rptdes
> ign
> Type Of Report: Report with a BAR Chart
> Result : SUCCESS!!!!
>
> ---------------
> Remote Machine
> ---------------
> Windows XP (My Laptop)
> Browser: Firefox & IE
> Sample URL:
> http://MyBIRTHostMachine:9080/birt-viewer/frameset?__report= TopNPercen
> t.rptdesign
> Result: FAILURE!!! (NoClassDefoundError)
> Thanks
> RG
Re: Charts not displayed (Please help) [message #217803 is a reply to message #217751] Thu, 08 February 2007 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayous2004.yahoo.com

Do you mean BIRT is installed on one machine, and accessing locally works,
while accessing remotely fails?

Yes thats correct.
Re: Charts not displayed [message #217810 is a reply to message #217730] Thu, 08 February 2007 15:16 Go to previous messageGo to next message
Erica Jackson is currently offline Erica JacksonFriend
Messages: 14
Registered: July 2009
Junior Member
There is a setting in the web.xml file for the BIRT Web Viewer Example
that tells BIRT where to store the chart images. You could try setting
that to the directory you want to store the files in.

Here is a snippet from the web.xml file where you would set the image
storage location:

<!-- Absolute downloaded image/chart directory. Default to ${birt
home}/report/images -->
<context-param>
<param-name>BIRT_VIEWER_IMAGE_DIR</param-name>
<param-value></param-value>
</context-param>

I have never really used the Web Viewer example, so I am not sure what
exactly to put in as the image location, but at least this is a start in
the right direction.

Since your charts are showing up in PDF, but not HTML, I would think that
the image location is definitely your problem. I hope this helps.
Re: Charts not displayed (Please help) [message #217911 is a reply to message #217803] Thu, 08 February 2007 17:14 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
That's maybe a problem of the path for your chart images, that is incorrect,
and only working locally. If you have written some code in your own web app,
I advise you compare it with the provided examples to find the issue.

Thanks,

David

> Do you mean BIRT is installed on one machine, and accessing locally
> works, while accessing remotely fails?
>
> Yes thats correct.
>
Re: Charts not displayed [message #217919 is a reply to message #217810] Thu, 08 February 2007 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

Erica Jackson ha scritto:
>
> I have never really used the Web Viewer example, so I am not sure what
> exactly to put in as the image location, but at least this is a start in
> the right direction.
> Since your charts are showing up in PDF, but not HTML, I would think
> that the image location is definitely your problem. I hope this helps.
>

I already did it and it didn't solve anything :-(

essentially:

I have installed tomcat in:
/home/myuser/tomcat

birt-runtime in:
/home/myuser/tomcat/birt-runtime

my .rptdesign in:
/home/myuser/tomcat/webapps/birt-viewer

Tomcat is running on port 20005 instead of 8080

All the images (one) and charts (one) are created in:
/home/myuser/tomcat/webapps/birt-viewer/report/images

The image is saved with name designX (without extension), chart with
name customX.png

PDF report works fine

HTML report produced this code for the chart:

<div>
<img id="AUTOGENBOOKMARK_4" element_type="EXTENDED" iid="/72(QuRs0:0)"
src="/birt-viewer/run?__imageID=customX.png" alt="" style=" width:
400px; height: 200px;">
</div>

but it's not displayed

I've already added option -Djava.awt.headless=true in catalina.sh

I don't know what else to do... I'm desperate...

Matteo
Re: Charts not displayed (Please help) [message #217926 is a reply to message #217911] Thu, 08 February 2007 17:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayous2004.yahoo.com

Hi Dave,
I havent created any webapp or any application or anything

all I am trying is deployed BIRTViewer dropped in sample out of box
reports that come with report with no modification like for example
TopNPercent.rptdesign that has bar chart

and accessed locally using
http://localhost:9080/birt-viewer/frameset?__report=TopNPerc ent.rptdesign

and accessed remotely using
http://remotemachine:9080/birt-viewer/frameset?__report=TopN Percent.rptdesign


and it fails
Re: Charts not displayed (Please help) [message #218052 is a reply to message #217926] Thu, 08 February 2007 21:25 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
That's strange. Can you look at the url of the chart, and access it directly
from both machines?

Thanks,

David

> Hi Dave,
> I havent created any webapp or any application or anything
> all I am trying is deployed BIRTViewer dropped in sample out of box
> reports that come with report with no modification like for example
> TopNPercent.rptdesign that has bar chart
>
> and accessed locally using
> http://localhost:9080/birt-viewer/frameset?__report=TopNPerc ent.rptdes
> ign
> and accessed remotely using
> http://remotemachine:9080/birt-viewer/frameset?__report=TopN Percent.rp
> tdesign
> and it fails
>
Re: Charts not displayed (Please help) [message #218203 is a reply to message #218052] Fri, 09 February 2007 16:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayous2004.yahoo.com

I exactly did that and am getting the same error, can see graph on local
machine and no graph on other machinE

Thanks
RG
Re: Charts not displayed (Please help) [message #218211 is a reply to message #218203] Fri, 09 February 2007 17:00 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Can you paste the link of the chart here?

Thanks,

David

> I exactly did that and am getting the same error, can see graph on
> local machine and no graph on other machinE
>
> Thanks
> RG
Re: Charts not displayed [message #219730 is a reply to message #217919] Mon, 19 February 2007 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matteo.rocco.icona.it

All works fine!

The problems was my wrong internal configuration :-(

Matteo

> Erica Jackson ha scritto:
>>
>> I have never really used the Web Viewer example, so I am not sure what
>> exactly to put in as the image location, but at least this is a start
>> in the right direction. Since your charts are showing up in PDF, but
>> not HTML, I would think that the image location is definitely your
>> problem. I hope this helps.
>>
>
Re: Charts not displayed [message #1809541 is a reply to message #219730] Wed, 17 July 2019 17:43 Go to previous message
Andy K  is currently offline Andy K Friend
Messages: 5
Registered: November 2018
Junior Member
The answer is simple.

Your chart Blocks Bounds are set to Width&Height=0.0

Switch to XML viewer of your report and find Bounds tag. Be careful, there are few Bounds tags there. Make sure you touch top level one inside <Blocks></Blocks> and not inside <Blocks><Chilldren..></Children></Blocks>

Example:

Change FROM:
<Bounds>
<Left>0.0</Left>
<Top>0.0</Top>
<Width>0.0</Width>
<Height>0.0</Height>
</Bounds>

TO:
<Bounds>
<Left>0.0</Left>
<Top>0.0</Top>
<Width>572.25</Width>
<Height>286.125</Height>
</Bounds>

Now save your report and refresh your HTML page. Voila! The graph/chart is now visible. Enjoy!
Previous Topic:Database Driver Configuration on Mac
Next Topic:set a dynamik scaling for the x-Aixs
Goto Forum:
  


Current Time: Tue Mar 19 06:09:38 GMT 2024

Powered by FUDForum. Page generated in 0.02800 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top