Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » need kickstart for birt charting api - from pojo
need kickstart for birt charting api - from pojo [message #905888] Fri, 31 August 2012 09:04 Go to next message
moritz du is currently offline moritz duFriend
Messages: 102
Registered: February 2010
Senior Member
i need a charting component in my gwt webapp. i already played around with jfreechart but it's charts are ugly and not very easily customizable.

So i looked at birt (i am personally interested in working with birt). At start i only need the chart api. In my app the data (2d-5d -Tables) is delivered via html-tables and deserialized to pojos. this pojos are used to publish the tables as pdf and on webpage(gwt widget).

Now i want to create charts from this pojos. the charts are to be published as svg or png.
The documentation i found so far only describes the wysiwyg way via "reports" and "datasources" ...

Is their any documentation that starts in java code and shows how to deliver data in java code. I guess i have to implement some interface?
Or probably some of you can give me a kickstart.

Some background about the data: the data is statistical data about population. the tables delivered contain all kind of such data. the tables are multidemnsional. the most simple one looks like this:

       total   gender:m  gender:f
total    10        5         5


or:
      total   gender:m  gender:f
age1    3         2        1
age2    3         1        2
age3    4         2        2


their are also table with up to 3 dimensions on one axis (pivo tables).
I already created jfreecharts from this kind of data. i have to deliver the data as simple lists.
But how to make it with birt - i can't find where to start or what to google.

thx in advance

[Updated on: Fri, 31 August 2012 09:04]

Report message to a moderator

Re: need kickstart for birt charting api - from pojo [message #906198 is a reply to message #905888] Fri, 31 August 2012 20:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you want to use the SWT chart renderer their are a lot of examples in
the source. I am attaching one project with several examples.

Jason


On 8/31/2012 5:04 AM, Missing name Mising name wrote:
> i need a charting component in my gwt webapp. i already played around
> with jfreechart but it's charts are ugly and not very easily customizable.
>
> So i looked at birt (i am personally interested in working with birt).
> At start i only need the chart api. In my app the data (2d-5d -Tables)
> is delivered via html-tables and deserialized to pojos. this pojos are
> used to publish the tables as pdf and on webpage(gwt widget).
>
> Now i want to create charts from this pojos. the charts are to be
> published as svg or png.
> The documentation i found so far only describes the wysiwyg way via
> "reports" and "datasources" ...
>
> Is their any documentation that starts in java code and shows how to
> deliver data in java code. I guess i have to implement some interface?
> Or probably some of you can give me a kickstart.
> Some background about the data: the data is statistical data about
> population. the tables delivered contain all kind of such data. the
> tables are multidemnsional. the most simple one looks like this:
>
> total gender:m gender:f
> total 10 5 5
>
> or:
> total gender:m gender:f
> age1 3 2 1
> age2 3 1 2
> age3 4 2 2
>
> their are also table with up to 3 dimensions on one axis (pivo tables).
> I already created jfreecharts from this kind of data. i have to deliver
> the data as simple lists.
> But how to make it with birt - i can't find where to start or what to
> google.
> thx in advance
  • Attachment: SWTLive.zip
    (Size: 59.52KB, Downloaded 202 times)
Re: need kickstart for birt charting api - from pojo [message #906199 is a reply to message #906198] Fri, 31 August 2012 20:44 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You may also want to look at:
http://www.birt-exchange.org/org/devshare/designing-birt-reports/463-birt-chart-engine-api-webinar-examples/
and
http://wiki.eclipse.org/BIRT/FAQ/Charts2.2

On 8/31/2012 4:40 PM, Jason Weathersby wrote:
> If you want to use the SWT chart renderer their are a lot of examples in
> the source. I am attaching one project with several examples.
>
> Jason
>
>
> On 8/31/2012 5:04 AM, Missing name Mising name wrote:
>> i need a charting component in my gwt webapp. i already played around
>> with jfreechart but it's charts are ugly and not very easily
>> customizable.
>>
>> So i looked at birt (i am personally interested in working with birt).
>> At start i only need the chart api. In my app the data (2d-5d -Tables)
>> is delivered via html-tables and deserialized to pojos. this pojos are
>> used to publish the tables as pdf and on webpage(gwt widget).
>>
>> Now i want to create charts from this pojos. the charts are to be
>> published as svg or png.
>> The documentation i found so far only describes the wysiwyg way via
>> "reports" and "datasources" ...
>>
>> Is their any documentation that starts in java code and shows how to
>> deliver data in java code. I guess i have to implement some interface?
>> Or probably some of you can give me a kickstart.
>> Some background about the data: the data is statistical data about
>> population. the tables delivered contain all kind of such data. the
>> tables are multidemnsional. the most simple one looks like this:
>>
>> total gender:m gender:f
>> total 10 5 5
>>
>> or:
>> total gender:m gender:f
>> age1 3 2 1
>> age2 3 1 2
>> age3 4 2 2
>>
>> their are also table with up to 3 dimensions on one axis (pivo tables).
>> I already created jfreecharts from this kind of data. i have to deliver
>> the data as simple lists.
>> But how to make it with birt - i can't find where to start or what to
>> google.
>> thx in advance
>
> If you want to use the SWT chart renderer their are a lot of examples in
> the source. I am attaching one project with several examples.
>
> Jason
>
>
> On 8/31/2012 5:04 AM, Missing name Mising name wrote:
>> i need a charting component in my gwt webapp. i already played around
>> with jfreechart but it's charts are ugly and not very easily
>> customizable.
>>
>> So i looked at birt (i am personally interested in working with birt).
>> At start i only need the chart api. In my app the data (2d-5d -Tables)
>> is delivered via html-tables and deserialized to pojos. this pojos are
>> used to publish the tables as pdf and on webpage(gwt widget).
>>
>> Now i want to create charts from this pojos. the charts are to be
>> published as svg or png.
>> The documentation i found so far only describes the wysiwyg way via
>> "reports" and "datasources" ...
>>
>> Is their any documentation that starts in java code and shows how to
>> deliver data in java code. I guess i have to implement some interface?
>> Or probably some of you can give me a kickstart.
>> Some background about the data: the data is statistical data about
>> population. the tables delivered contain all kind of such data. the
>> tables are multidemnsional. the most simple one looks like this:
>>
>> total gender:m gender:f
>> total 10 5 5
>>
>> or:
>> total gender:m gender:f
>> age1 3 2 1
>> age2 3 1 2
>> age3 4 2 2
>>
>> their are also table with up to 3 dimensions on one axis (pivo tables).
>> I already created jfreecharts from this kind of data. i have to deliver
>> the data as simple lists.
>> But how to make it with birt - i can't find where to start or what to
>> google.
>> thx in advance
>
Re: need kickstart for birt charting api - from pojo [message #907014 is a reply to message #906199] Mon, 03 September 2012 06:38 Go to previous messageGo to next message
moritz du is currently offline moritz duFriend
Messages: 102
Registered: February 2010
Senior Member
thx jason!

i read your webinar - a very good start. i also tried to import the examples into eclipse but got many build path error (adding each jar manually would be too much but the source will help).
I also installed "ChartSDK" in eclipse - but how to access those features ("Chart Context Sensitive Help", "Charet Source Feature") - in Eclipse' help i only found the birt chart "programmers reference" - the java doc?

[Updated on: Mon, 03 September 2012 08:06]

Report message to a moderator

Re: need kickstart for birt charting api - from pojo [message #907512 is a reply to message #907014] Tue, 04 September 2012 06:45 Go to previous messageGo to next message
moritz du is currently offline moritz duFriend
Messages: 102
Registered: February 2010
Senior Member
ok i found it here: http://www.birt-exchange.org/org/forum/index.php/topic/16960-how-do-i-get-org-eclipse-birt-chart-examples/

and thx for swtlive example!
Re: need kickstart for birt charting api - from pojo [message #907513 is a reply to message #907014] Tue, 04 September 2012 06:45 Go to previous message
moritz du is currently offline moritz duFriend
Messages: 102
Registered: February 2010
Senior Member
sorry for double post - delete this please!

something went wrong on submitting the reply: the reply was not shown

[Updated on: Tue, 04 September 2012 08:50]

Report message to a moderator

Previous Topic:JSF 2.1.x + Birt 4.2 + Tomcat 6
Next Topic:[charts] mixing stacked and unstacked series in bar chart
Goto Forum:
  


Current Time: Fri Mar 29 01:58:32 GMT 2024

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

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

Back to the top