Hello
With Ireport 3.7.1 i defined a report(SQL and Chart).
In Ireport everything looks as expected.
Now i want to show the graph in my form (Servoy 6.0.7 Webclient).
Now success???
My code:
var _params = new Object();
_params.SUBREPORT_DIR = "C:\\Servoy\\jasperreports\\";
var bytes = plugins.jasperPluginRMI.runReport("maxdb", "Diagramm_Personal_Anzahl_500.jasper", null, OUTPUT_FORMAT.HTML,_params);
vhtml = new java.lang.String(bytes);
vhtml is a form variable and dataprovider for an html-aera on my form.
Any idear how to show the graph in my webclient form?
I need to build some “Dashboards”.
Regards
Albert
Hi Albert,
What version of the plugin are you using?
I suppose you have all the required libs to produce charts in; now does the graph show ok in an html file, if you specify such an output html file to the runReport call?
Regards,
Andrei
Hello Andrei
Plugin version = 3.3.0
When i call the jasper report with output format VIEW everything look OK.
Open dialog in webclient and the wanted graph inside.
???
Regards
Albert
Hi Albert,
Do you have any errors in the logs? Do you have any (visual) result in the html area?
For me, a scenario as you described, appears to work fine.
Regards,
Andrei
Hello Andrei
Nothing in the server log!
The form lookslike this:
[attachment=0]screenshota.jpg[/attachment]
Regards
Albert
Albert, i think this may have been already fixed in the 4.0b1 version of the plugin. This will be available in the next public release of the plugin (or you can checkout the latest code and create a plugin build yourself).
Have a look at https://www.servoyforge.net/boards/13/topics/488; i think this might also fix the problem you described.
Regards,
Andrei