Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Data-Cube Chart X-Axis By Group & Sub-Group
Data-Cube Chart X-Axis By Group & Sub-Group [message #496801] Wed, 11 November 2009 12:26 Go to next message
drwg  is currently offline drwg Friend
Messages: 7
Registered: November 2009
Junior Member
How do I create a 2d- bar chart where the x-axis category is combination of multiple fields in a data-cube group?

i.e. the X-Axis contains multiple levels definied in the group an example would be Year/Week/Day etc

Thanks
w
Re: Data-Cube Chart X-Axis By Group & Sub-Group [message #496911 is a reply to message #496801] Wed, 11 November 2009 17:36 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you try adding a databinding on the chart something like mydate and
set its value to something like:

new
Date(data["DateGroup/year"],data["DateGroup/month"],data[ "DateGroup/day-of-month"])

Use this binding in the x-axis
drwg wrote:
> How do I create a 2d- bar chart where the x-axis category is combination
> of multiple fields in a data-cube group?
>
> i.e. the X-Axis contains multiple levels definied in the group an
> example would be Year/Week/Day etc
>
> Thanks
> w
Re: Data-Cube Chart X-Axis By Group & Sub-Group [message #496962 is a reply to message #496911] Wed, 11 November 2009 21:35 Go to previous message
drwg  is currently offline drwg Friend
Messages: 7
Registered: November 2009
Junior Member
Ok, very new to BIRT but i guess that would do what I asked for, I just didn't exaplain myself by using a good example, although 2 of the fields are the year and week the top level field of the group is a relatively long String which ideally i do not want repeated for every year and week as the chart becomes very cluttered.

e.g.

1 2 3 4 5 | 1 2 3 4 5 | 1 2 3 4 5 | 1 2 3 4 5
2008 | 2009 | 2008 | 2009
AAAAAAAA | BBBBBBBB

Any other thoughts.

Thanks again
w
Previous Topic:PDF problem with attribute topMargin
Next Topic:Yellowfin Business Intelligence discuss "Too much ink" and poor dashboard design
Goto Forum:
  


Current Time: Wed Sep 18 19:45:39 GMT 2024

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

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

Back to the top