am having some problems in doing a graph bar where the different values of one continuous variables are stack over another variable, lest say, state.

So basically if I type this command

graph bar fluor_1, stack over (state_name) percentage

(fluor_1 is the level of fluoride in a given water source and it has 6 different codes)

I get a graph where the codes are not stack at all.

To get a graph with stack columns, I have first to

tab fluor_1, gen (f)

and then

graph bar f1 f2 f3 f4 f5 f6, stack over (state)

So basically, unless I do so, Stata does not understand that i want that variable to be stack.

However to do this for every single variable I want to stack, is quite tedious and I end up with having a lots of variables which I ultimately don't need. Is there any other way to make Stata read that variable in the way I need without generating a new variable?

Hope it makes sense....

Thanks a lot!!!

Hoping to hear from you!

belfagor