When I create a report with Birt 4.4.2, it seems impossible to generate the table style in html5. Is there a way to do this?
"HTML5" content can be achieved using various options:
embed the visualization in HTML5 using the BIRT JavaScript API
generate your own visualization using the BIRT REST API
link to an external CSS file
write an HTML5 emitter
Someone seems to have started writing a new HTML5 emitter at http://www.eclipse.org/forums/index.php/t/457537/
Related
I'm using shieldUi library for building charts in a web page.
I was wondering about creating charts in a Java backend and save them as images (or use them when creating a pdf using FOP).
Is shieldUi (and its integration with apache wicket) suitable for this purpose?
There are integration Apache Wicket with ShieldUI.
Maybe it will help you!
I am currently working on web application based on Angular JS,HTML5. I have a report section on the same where i am displaying the report data through API calls.
I feel that displaying reports through API call is not the best practice so i did some research and came across TIBCO Jasper reports and its looking fine till now.
What i have done till now is
Installed Jaspersoft Studio in my local machine.
Connected the same to my DB and generated JRXML file.
Uploaded the JRXML file to jasper server and generated reports from DB.
What i need to do is
I see i can generate reports in various formats from jasper server like pdf, excel etc.. How do i integrate this to my web page?
Please assist me on this and share your thoughts. Thanks in advance.
Are you using the community or professional version? If you are using the professional version, you can use their Visualize.js library to access your reports from a web application. We have had success integrating Jasper reports into our Angular app, though we've found it to be pretty buggy and it has required several workarounds on our part.
We started by creating an Angular service that handles all the communication with Visualize/Jasper. Once you get all the service plumbing done, it's just a matter of creating an empty DIV tag with an ID and passing that ID to the Visualize function that generates the report. Visualize will handle the REST request to the Jasper server and automatically inject the JS and HTML returned into your empty DIV.
You can find more info on Visualize (including API docs) here:
community.jaspersoft.com/project/visualizejs
You can integrate JasperServer into your web app using iFrames with their HTTP API. This would allow you to reuse the UI that is part of JasperServer. It is possible to customize the look and feel of this UI using themes. More info here:
http://community.jaspersoft.com/wiki/embedding-using-http-api
I want to be able to integrate birt with my application. I need the output to be in HTML format - preferably with paging or ability to scroll as the reports may become lengthy.
Can anyone provide any examples or just a basic rundown as to the best method of implementation this can be done in?
I have used BIRT and can make the reports I just don't 100% understand how to deploy them even after looking at a lot of resources including Acuates own.
You need a report and the BIRT engine to turn that report into HTML. The engine can be embedded in your own Java application or use their free F-Type server to embed with one of their APIs.
Multi-page export can be accomplished using:
their JavaScript API and either the free or commercial BIRT Viewer
their default HTML emitter with an external CSS3 file for page layout
customize or create a new HTML emitter with the HTML tags that you want
Integration documentation is at
http://developer.actuate.com/resources/documentation/ihub31/integration
http://developer.actuate.com/deployment-center/integrating-birt-into-applications/
I'm looking for a report engine which may:
connect to data source via JDBC
create logic data set by grouping/aggregating the raw data
include a data filter on the top of each report, which allows my client use the report interactively
add custom charts, in my case, it's ECharts https://github.com/ecomfe/echarts
support multi-tenancy paradigm (new requirement)
Now BIRT and Pentaho are the two players on my table.
For pentaho, it's really hard to find useful document to at least clarify if it's capable. Please if you're familiar with it, let me know if pentaho community version meets my requirements.
For BIRT, I've found evidence it support my first 3 needs. But for custom charts, I can only find examples/docs about adding custom IMAGE/SVG charts. As ECharts is based on canvas, I'm not sure if it's possible to integrate ECharts with BIRT.
Thank you!
Yes, it is possible to integrate javascript charts in BIRT. Basically:
Select the top-level element of your report outline -> Script tab -> clientScripts
Include here your echart resources (.js and .css) using "head.js" (see link below for more informations)
Add a text element to the report
Set the type of this new element to 'HTML'
In a script tag, initialize your echart object in a "head.ready()" instruction (see link below for more informations). The tricky part is to understand how to use a server-side dataset in a client-side chart within this html script.
You can find more informations and a full example of a such report here, this example embeds a jvectormap in a birt report. Furthermore, see a live demo here, where a JIT chart is integrated in a BIRT report.
However since these charts are created using a client-side framework, obviously BIRT won't be able to export them in PDF format. You can see in the live demo linked above, how a BIRT report can easily handle a different output when users export to PDF.
You can do it in Pentaho, but which tool to use it's a matter of debate.
Using Pentaho Report Designer:
- Connects to DBs using JDBC;
- Allows grouping rows based on a field or fields and calculating functions such as running sums;
- Can use selectors (single or multi-valued selectors) to interact with the report, passing the selector values to the queries;
- As far as I can tell, you don't have many options to choose a specific charting engine.
However, you can use CCC as the charting engine, which is a Protovis based Javascript charting engine, cross-browser compatible (for the most part), renders SVG charts with a decent fallback for IE (I believe the fallback is flash but I'm not sure if it changed recently) and produces decent looking charts.
If you HAVE to use that chart library, then I suggest using C-Tools dashboards instead, where you can embed as many different JS files you want and you have full control over the JS and CSS of the page. But most of the reporting functions from PRD will have to be implmented by you.
I'm looking to perform some dynamic charting based on a model via GWT on HTML5 compliant browsers.
I know that the following library exists :
GWT Canvas
The problem is that this library does not support drawing text within the canvas so I can draw lines but no write text on my charts.
I haven't been able to find any other plugin that works with the Canvas in GWT (which is really odd given the HTML5 push by Google).
Does such a component exist?
You could take a look at the official canvas support in gwt-incubator. http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas
The GWT incubator seems to be more focussed on browser support. If you don't require this and wish to use more of the HTML5 Canvas features, see:
http://sourceforge.net/projects/html5canvas/