Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
X-axis data value sorting on stacked bar chart graph not fully working
Migrateduser
Hello,<br />
<br />
I am using BIRT version 2.5.0 coupled with Troux version 9.0. Due to the coupling I am therefore unable to upgrade to the latest version of BIRT.<br />
<br />
I have a report with a data set that is ordered by Column D, in a descending fashion. I wish to display Column A's contents in the order ordered by Column D.<br />
Example: SELECT name, city, pc_count, visit_count FROM tableA ORDER BY DESC visit_count<br />
Data set returns the information as expected ordered by visit_count.<br />
<br />
I have linked this data set to a stacked bar chart.<br />
<br />
The x-axis of the bar chart displays Column A's (name) contents. As mentioned before, I wish this ordered in the order set by Column D (visit_count) of the data set.<br />
<br />
The y-axis of the bar chart displays Column B's (city) contents.<br />
<br />
And the optional Y series grouping is linked to Column C's (pc_count) contents.<br />
<br />
My colleague and I was attemping to sort the x-axis information according to the sort order of the data set, as ordered by Column D of the data set.<br />
<br />
We couldn't achieve this result, but in the process, we discovered the following:<br />
<br />
1. If I remove the optional Y series grouping, the GUI then allows us to set the sort order for the X Series to the field wanted (visit_count), then the x-axis is properly sorted the way we want. But obviously the chart doesn't show the optional Y series grouping, which we want <span class='bbc_underline'>as well</span>.<br />
<br />
2. Adding the optional Y Grouping back in, greys out the ability to set the sort order for the X Series, and the X Series reverts back to be sorted by Column A (name).<br />
The Help screen indicates that if no sort order is selected then the fields would be displayed in the order returned by the query. This unfortunately does not seem to be the case if the Optional Y grouping is selected.<br />
<br />
Neither 1 or 2 is exactly what my colleague and I want.<br />
<br />
Is there a way to have the graph sorted in the way we want <span class='bbc_underline'>and also</span> have the optional Y series grouping in place as well?<br />
<br />
Is ths a known bug? Is it fixed in a later verison of BIRT?<br />
<br />
<br />
Thank you,<br />
<br />
Albert
Find more posts tagged with
Comments
There are no comments yet