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
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