need kickstart for birt charting api - from pojo [message #905888] |
Fri, 31 August 2012 09:04  |
moritz du 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   |
|
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 195 times)
|
|
|
Re: need kickstart for birt charting api - from pojo [message #906199 is a reply to message #906198] |
Fri, 31 August 2012 20:44   |
|
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   |
moritz du 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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02142 seconds