Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23466

Re: Report Generation API For Java?

From Arved Sandstrom <asandstrom2@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Report Generation API For Java?
References <e37274d8-c636-4c08-810f-cf91e02efccd@googlegroups.com> <kjs36n$ji$1@dont-email.me> <516cae74$0$32107$14726298@news.sunsite.dk>
Message-ID <478bt.2895$CA4.1269@newsfe14.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2013-04-16 05:39 -0300

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web