Hi,
I would like to create a stacked bar graph of 30 different types of expenditures over time using the ipolate option of colorpalette.
I have two questions:
1) How can I select the 30 different colors shown in the colorpalette graph?
2) How can I use the variable label (of each of the 30 ) as a bar label for each category shown in the bar graph. Using the blabel(name) option only shows the variable names.
Any ideas?
Best wishes,
Steve
I would like to create a stacked bar graph of 30 different types of expenditures over time using the ipolate option of colorpalette.
I have two questions:
1) How can I select the 30 different colors shown in the colorpalette graph?
2) How can I use the variable label (of each of the 30 ) as a bar label for each category shown in the bar graph. Using the blabel(name) option only shows the variable names.
Code:
colorpalette: DarkCyan FloralWhite DarkGoldenRod, ipolate(30, power(1.5)) graph bar category1 category2 .....category30, over(month) stack blabel(name, color(black) position(inside))
Best wishes,
Steve
Comment