Skip to main content



      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 05:04 Go to next message
Eclipse UserFriend
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 05:04] by Moderator

Re: need kickstart for birt charting api - from pojo [message #906198 is a reply to message #905888] Fri, 31 August 2012 16:40 Go to previous messageGo to next message
Eclipse UserFriend
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 230 times)
Re: need kickstart for birt charting api - from pojo [message #906199 is a reply to message #906198] Fri, 31 August 2012 16:44 Go to previous messageGo to next message
Eclipse UserFriend
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 02:38 Go to previous messageGo to next message
Eclipse UserFriend
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 04:06] by Moderator

Re: need kickstart for birt charting api - from pojo [message #907512 is a reply to message #907014] Tue, 04 September 2012 02:45 Go to previous messageGo to next message
Eclipse UserFriend
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 02:45 Go to previous message
Eclipse UserFriend
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 04:50] by 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: Sun May 11 17:02:20 EDT 2025

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

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

Back to the top