Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unordered x - axis Bar charts with 2 series

Sravanthi Dachepalli-OracleJan 8 2019 — edited Jan 24 2019

I have a bar chart with 2 series(one sql in each series ) and the x axis is showing the data in un-ordered format even though the x axis is sorted by label value as ascending .

Please refer the images for details and help me in solving this issue.

output : 6th , 7th hour etc values are showing at the end .

chart_output.png

x - axis properties

x-axis.png

query output for series 1:

| NULL | HOURS | COUNT(*) |
| | 5 | 1 |
| | 6 | 4 |
| | 7 | 410 |
| | 8 | 1261 |
| | 9 | 248 |
| | 10 | 102 |
| | 11 | 60 |
| | 12 | 38 |
| | 13 | 17 |
| | 14 | 10 |
| | 15 | 4 |
| | 16 | 1 |
| | 17 | 1 |
| | 19 | 1 |
| | 24 | 1 |

query output for series 2 :

| NULL | HOURS | COUNT(*) |
| | 5 | 1 |
| | 6 | 4 |
| | 7 | 410 |
| | 8 | 1261 |
| | 9 | 248 |
| | 10 | 102 |
| | 11 | 60 |
| | 12 | 38 |
| | 13 | 17 |
| | 14 | 10 |
| | 15 | 4 |
| | 16 | 1 |
| | 17 | 1 |
| | 19 | 1 |
| | 24 | 1 |

This post has been answered by Oleh Tyshchenko on Jan 11 2019
Jump to Answer
Comments
Post Details
Added on Jan 8 2019
5 comments
236 views