Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23361 > unrolled thread
| Started by | Sourabh Mhaisekar <sourabh8044@gmail.com> |
|---|---|
| First post | 2013-04-07 07:52 -0700 |
| Last post | 2013-04-08 05:52 -0700 |
| Articles | 7 — 6 participants |
Back to article view | Back to comp.lang.java.programmer
Report Generation API For Java? Sourabh Mhaisekar <sourabh8044@gmail.com> - 2013-04-07 07:52 -0700
Re: Report Generation API For Java? Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-04-07 11:28 -0400
Re: Report Generation API For Java? Arne Vajhøj <arne@vajhoej.dk> - 2013-04-15 21:50 -0400
Re: Report Generation API For Java? Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-04-16 05:39 -0300
Re: Report Generation API For Java? Roedy Green <see_website@mindprod.com.invalid> - 2013-04-07 16:08 -0700
Re: Report Generation API For Java? Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-04-08 12:52 +0300
Re: Report Generation API For Java? Roedy Green <see_website@mindprod.com.invalid> - 2013-04-08 05:52 -0700
| From | Sourabh Mhaisekar <sourabh8044@gmail.com> |
|---|---|
| Date | 2013-04-07 07:52 -0700 |
| Subject | Report Generation API For Java? |
| Message-ID | <e37274d8-c636-4c08-810f-cf91e02efccd@googlegroups.com> |
I am developing tool for analysis of office data, for which I need to generate reports as per database entries. Report generation API should be able to draw various graphs such as Pie, Bar etc. Does anyone have any suggestion about what library should I use ? Thank you ! - Sourabh M.
[toc] | [next] | [standalone]
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Date | 2013-04-07 11:28 -0400 |
| Message-ID | <kjs36n$ji$1@dont-email.me> |
| In reply to | #23361 |
On 4/7/2013 10:52 AM, Sourabh Mhaisekar wrote:
> I am developing tool for analysis of office data, for which I need to generate reports as per database entries.
> Report generation API should be able to draw various graphs such as Pie, Bar etc.
>
> Does anyone have any suggestion about what library should I use ?
There's JFreeChart <http://www.jfree.org/jfreechart/>, which
can draw many kinds of charts in Swing applications. I think it
can also render them as PNG or PDF. The gotcha (last time I looked)
is that the library and JavaDoc are free, but the "How To" book
costs money.
Google Charts <https://developers.google.com/chart/> lets you
embed graphs in HTML documents, using Javascript libraries. You
can write the HTML from any language you choose, including Java,
and any modern browser can display them (without needing Java).
OpenOffice.org has API bindings for various languages that would
let you generate OOo documents directly from your Java code. It's
quite un-Java-like, possibly because of the other language bindings
it needs to support. I don't know whether it works with LibreOffice,
or whether LO has similar API's.
<http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide>
--
Eric Sosman
esosman@comcast-dot-net.invalid
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-04-15 21:50 -0400 |
| Message-ID | <516cae74$0$32107$14726298@news.sunsite.dk> |
| In reply to | #23363 |
On 4/7/2013 11:28 AM, Eric Sosman wrote: > On 4/7/2013 10:52 AM, Sourabh Mhaisekar wrote: >> I am developing tool for analysis of office data, for which I need to >> generate reports as per database entries. >> Report generation API should be able to draw various graphs such as >> Pie, Bar etc. >> >> Does anyone have any suggestion about what library should I use ? > > There's JFreeChart <http://www.jfree.org/jfreechart/>, which > can draw many kinds of charts in Swing applications. I think it > can also render them as PNG or PDF. The gotcha (last time I looked) > is that the library and JavaDoc are free, but the "How To" book > costs money. JFreeChart is actually quite nifty. If OP need some examples, then I have some on the shelf. (I will need to check them against current version though as JFreeChart API is not completely stable) > OpenOffice.org has API bindings for various languages that would > let you generate OOo documents directly from your Java code. It's > quite un-Java-like, possibly because of the other language bindings UNO is like COM and CORBA. > it needs to support. I don't know whether it works with LibreOffice, > or whether LO has similar API's. > <http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide> LO support UNO as well. http://api.libreoffice.org/ Arne
[toc] | [prev] | [next] | [standalone]
| From | Arved Sandstrom <asandstrom2@eastlink.ca> |
|---|---|
| Date | 2013-04-16 05:39 -0300 |
| Message-ID | <478bt.2895$CA4.1269@newsfe14.iad> |
| In reply to | #23465 |
On 04/15/2013 10:50 PM, Arne Vajhøj wrote: > On 4/7/2013 11:28 AM, Eric Sosman wrote: >> On 4/7/2013 10:52 AM, Sourabh Mhaisekar wrote: >>> I am developing tool for analysis of office data, for which I need to >>> generate reports as per database entries. >>> Report generation API should be able to draw various graphs such as >>> Pie, Bar etc. >>> >>> Does anyone have any suggestion about what library should I use ? >> >> There's JFreeChart <http://www.jfree.org/jfreechart/>, which >> can draw many kinds of charts in Swing applications. I think it >> can also render them as PNG or PDF. The gotcha (last time I looked) >> is that the library and JavaDoc are free, but the "How To" book >> costs money. > > JFreeChart is actually quite nifty. > > If OP need some examples, then I have some on the shelf. > > (I will need to check them against current version though as > JFreeChart API is not completely stable) [ SNIP ] Yes, JFreeChart is good. I was prepared to recommend it as a solid alternative for a client last year, if they didn't go with a commercial alternative. They eventually purchased LogiInfo/LogiStudio products, which are seriously more high-powered than JFreeChart. But JFreeChart is a good choice. I have some JFreeChart examples also. The OP should not underestimate the amount of effort that implementation takes with something like JFreeChart, however. Particularly for first or second or third projects by people new to the library. Given a chart design and a datasource accessible by some technique, the better commercial offerings make it possible to knock out a very sophisticated user-input driven dynamic chart in less than an hour. Creating a similar chart with JFreeChart would take days. So it's a very good idea to do some early implementations, even as early as application requirements gathering, as a proof-of-technology and an effort-estimation guide. AHS
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-04-07 16:08 -0700 |
| Message-ID | <e2v3m8lhm0mhktsk94f03c2jl3psun770i@4ax.com> |
| In reply to | #23361 |
On Sun, 7 Apr 2013 07:52:56 -0700 (PDT), Sourabh Mhaisekar <sourabh8044@gmail.com> wrote, quoted or indirectly quoted someone who said : >I am developing tool for analysis of office data, for which I need to generate reports as per database entries. >Report generation API should be able to draw various graphs such as Pie, Bar etc. > >Does anyone have any suggestion about what library should I use ? see http://mindprod.com/jgloss/graph.html http://mindprod.com/jgloss/reportgenerator.html -- Roedy Green Canadian Mind Products http://mindprod.com Doing research on the Web is like using a library assembled piecemeal by pack rats and vandalized nightly. ~ Roger Ebert (born: 1942-06-18 died: 2013-04-04 at age: 70)
[toc] | [prev] | [next] | [standalone]
| From | Donkey Hottie <donkey@fredriksson.dy.fi> |
|---|---|
| Date | 2013-04-08 12:52 +0300 |
| Message-ID | <0kga3a-6o2.ln1@tempest.fredriksson.dy.fi> |
| In reply to | #23373 |
08.04.2013 02:08, Roedy Green kirjoitti: >> Does anyone have any suggestion about what library should I use ? > > see http://mindprod.com/jgloss/graph.html > http://mindprod.com/jgloss/reportgenerator.html > Where is Eclipse BIRT? -- Don't get stuck in a closet -- wear yourself out.
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-04-08 05:52 -0700 |
| Message-ID | <bcf5m8dmf1g318h2b163gk1na7vcfpol2t@4ax.com> |
| In reply to | #23378 |
On Mon, 08 Apr 2013 12:52:32 +0300, Donkey Hottie <donkey@fredriksson.dy.fi> wrote, quoted or indirectly quoted someone who said : > >Where is Eclipse BIRT? http://mindprod.com/jgloss/reportgenerator.html thanks for the tip. -- Roedy Green Canadian Mind Products http://mindprod.com Doing research on the Web is like using a library assembled piecemeal by pack rats and vandalized nightly. ~ Roger Ebert (born: 1942-06-18 died: 2013-04-04 at age: 70)
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web