Skip to main content



      Home
Home » Archived » BIRT » How to sort bars in bar chart by Y value?
How to sort bars in bar chart by Y value? [message #210634] Thu, 11 January 2007 10:37 Go to next message
Eclipse UserFriend
Originally posted by: vgryn.yahoo.com

Hi!

Using BIRT version 2.2M2

I created bar chart with the parameter - data set field binding name, so I
can specify row[parameter] for Y axis (values).

Question is: how to make proper sorting of bars from left to right in
descending order in simple bar chart?
I know I can sort the data set, but here it is not an option - in my case I
cannot sort data set because the field displayed by bar chart is a parameter
in report.
I also know I can pass another parameter for data set for sorting, but the
same data set is used for 2 charts and another sorting is already needed for
another chart on the same report.

So, is there any BIRT feature to sort bars in bar chart (much the same way
as sort data in data table)? If not, it would be really good to add one.

Suggestions?

--
WBR,
Vlad Grynchyshyn
Re: How to sort bars in bar chart by Y value? [message #210650 is a reply to message #210634] Thu, 11 January 2007 10:50 Go to previous message
Eclipse UserFriend
Hi,

You can only sort the categories by the categories values now, not by a given
Y series or other value. It's proably a good feature to add in to support
Pareto charts, so you can go ahead and file a bugzilla enhancement. We'll
see if we can implement it in 2.2.

I suggest you simply duplicate your dataset, sort it for the chart you need,
and not for the other chart. I know it's not ideal, but that's the only solution
as for now.

Thanks,

David

> Hi!
>
> Using BIRT version 2.2M2
>
> I created bar chart with the parameter - data set field binding name,
> so I can specify row[parameter] for Y axis (values).
>
> Question is: how to make proper sorting of bars from left to right in
> descending order in simple bar chart?
> I know I can sort the data set, but here it is not an option - in my
> case I
> cannot sort data set because the field displayed by bar chart is a
> parameter
> in report.
> I also know I can pass another parameter for data set for sorting, but
> the
> same data set is used for 2 charts and another sorting is already
> needed for
> another chart on the same report.
> So, is there any BIRT feature to sort bars in bar chart (much the same
> way as sort data in data table)? If not, it would be really good to
> add one.
>
> Suggestions?
>
Previous Topic:Property Editor resets on every change
Next Topic:compilation errors after building birt source from head.
Goto Forum:
  


Current Time: Thu Jul 17 21:26:57 EDT 2025

Powered by FUDForum. Page generated in 0.09329 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top