Frequently Asked Questions (Chart) [message #59672] |
Tue, 19 July 2005 03:32 |
Nina Li Messages: 44 Registered: July 2009 |
Member |
|
|
Greeting,
I compiled the recent Q & A in the BIRT newsgroup and divided them into
categories. You could take a look at the page, perhaps it could help you
get out of stuck :). More infomation could be found in the BIRT FAQ page.
Thanks to all the BIRT community members.
Regards,
Nina
------------------------------------------------------------ --
Chart issues
(Note: If you got confused about the answer, you could send E-mail
directly to the person who answered the relevant question.)
Q: How can I set a minimum slice value in a Pie Chart?
(Answered by dmichonneau@actuate.com ) The pie chart itself does not have
the "min slice" grouping feature yet, but you can achieve the same result
using a query with a union in the chart dataset. Here is an example of
such an SQL Query that groups values by category, and where the minimum
slice value is 10:
select cat, sum (val) as sumval
from Table1
group by cat
having sum(val)>10
union
select 'others' as cat, sum (val) as sumval
from Table1 where cat in ( select cat from Table1
group by cat
having sum(val)<=10
)
group by 'others'
Q: Is it possible to create a chart and have it in an HTML table cell on a
JSP page?
(Answered by dmichonneau@actuate.com) The BIRT Chart engine can be used as
a standalone component to generate charts. There is a Chart Runtime
package you can get on the BIRT download site, you only need to include
the lib jars in your Java server application and then you will be able to
create and generate charts from your java code and output them in one of
the available formats, probably PNG would be appropriate in that case.
|
|
|
Powered by
FUDForum. Page generated in 0.03153 seconds