Hi @all : Thankyou all for your suggestions.
@Ksharp Since I already used vbar, I taught I could continue with it.
@Jay54 I tried that code but it still writes the percentage values in the segment, I wanted instead the absolute values
@GraphGuy I have attached a sample data and my code
proc sgplot data =t.test4 pad=(bottom=5%) noautolegend noborder;
xaxis grid type=discrete discreteorder=data;
vbar date /response=freq group=var1 attrid=var1 seglabel seglabelattrs=(size=0.25)
seglabelfitpolicy=none barwidth=0.6 missing;
xaxis display= (nolabel) valueattrs=(family="verdana" size=8pt) fitpolicy=rotate ValuesRotate=Vertical;
yaxis display= (nolabel) valueattrs=(family="verdana" size=8pt);
run;
... View more