Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

order subgroup

Status
Not open for further replies.

kaeserea

Programmer
Feb 26, 2003
164
0
0
DE
Hello!

With a vbar I habe subgroup for the respond axis. Unfortunately by default the subgroup is ordered alphabetically. Yet I#d like to order it my way. How can I do this?

My data is
[tt]
date phase price
2008/12/01 b 12
2008/12/01 c 56
2008/12/01 a 33
2008/12/02 b 34
2008/12/02 c 32
2008/12/02 a 21
[/tt]

It is ordered the way I'd like to have the subgroup ordered. Still the vbar orders the subgroup a b c instead of b c a.

This is my code:
[tt]
proc gchart data=work.mydata;
vbar date / sumvar = price
subgroup = phase
type = sum
discrete;
run;
[/tt]

Best regards
Eva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top