Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
mixed chart types
Patrice
Hi all,
I'm new to BIRT and need to display two different chart types (bar and line) on a single chart that will be displayed on a web page. Is it possible ? I didn't find any way to design this using eclipse plugin.
Thanks for help
Find more posts tagged with
Comments
zqian
Yes, this is possible. Are you using the BIRT designer? You can create a BAR chart and add an additional Line series. This can be easily done using the Chart Builder.
Patrice
I defined 2 series but the "select chart type" tab applies to all series. I cannot specify a single one. How do you do it ?
Patrice
I found it.
Thanks !
Patrice
It almost works.
In the attached example, the 2nd serie is a line but BIRT leaves a space between series 1 and 3. Can I make line charts overlay bar charts without leaving spaces ?
zqian
Hmmm... I think you can simply define Series 4 as line.
Patrice
That's what I did to get the example. It seems that BIRT simply allocates a percentage of the column width for each serie value, whether or not the serie is to be rendered as a bar. I finally defined a second y-axis for line charts and kept the first one for bar charts.
mwilliams
Patrice,<br />
<br />
I believe zqian just means that if you make series 4 or series 1 for that matter, the line chart, that it'll be less obvious that there's a space there because the blank "bar" will be on the front or the back of the group of bars. This way you can keep the line series on the same axis. I don't know that there's a good way to solve this problem otherwise.<br />
<br />
Please create a bug report for this at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>. Thanks!