Dear all, I have an apparently simple question that I am not figuring out how to solve:
I have the following data:
and I would like to obtain a stacked bar chart, where the values of the variable 'value' are piled up in a unique column (whose the total lenght will be 100%).
Anyway, with the command
I obtain three column, each located in values 1, 2 and 3 (the values of my variable 'step').
Where do I am wrong? Thanks a lot in advance, best, Giorgio
I have the following data:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte(id step) float value 1 1 10.47024 1 2 3.703998 1 3 85.82577 end
and I would like to obtain a stacked bar chart, where the values of the variable 'value' are piled up in a unique column (whose the total lenght will be 100%).
Anyway, with the command
Code:
graph bar value, over(step) stack
Where do I am wrong? Thanks a lot in advance, best, Giorgio
Comment