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)
Legend backwards when axis flipped?
paqman
Hey BIRT Exchange,
Has anyone else noticed that when you flip the axis for a line chart the legend shows the list of series in reverse order? I have a table showing the same data and it displays it in the correct order (series 1, series 2, etc), but the chart legend is in reverse order (series 2, series 1).
Anyone know of a way to correct this?
Thanks in advance
Find more posts tagged with
Comments
paqman
Should have mentioned this is in BIRT 2.6.1
mwilliams
Are you going to leave it saying series 1 and series 2? A simple workaround could just be to change the order in which you define the series in the chart editor, then name them in reverse. It looks like the reason it's this way is because the second series is on top, so the legend item does the same. Another way would be to change the color and labels of the legend in your script.
You could also file an enhancement request to be able to reverse the legend order.
http://www.birt-exchange.org/org/resources/bug-reporting/
paqman
Defining them in reverse sounds like a good workaround - I'll give it a shot and post the results here. Thanks
paqman
Noticed the same issue when creating a regular stacked bar chart with more than 1 series:
mwilliams
I've not noticed this before with the more than one series. Is this only for stacked bar? I would guess that whatever the issue is that causes your feature request issue to happen is the same thing that would cause this one. You could always make a comment in the above request that says the same also happens for multi-series stacked bar charts.
paqman
OK I've added a comment to the bug report. Should it get resolved I'll update this forum topic. Thanks