Does anyone know how to increase the font size for datalabel?
proc sgplot data=yrp;
vbar yoi / response=yr_tot;
vline yoi / response=avg y2axis datalabel=avg;
y2axis min=0 max=10000;
run;
Thank you.
For now, you must adjust the size through the ODS style. Here is a simple example:
[pre]
proc template;
define style biglabel;
parent=styles.listing; /* or your favorite style */
style GraphDataText from GraphDataText /
fontsize=10pt;
end;
run;
Hi:
You might be looking at the old file, especially if Word was still open when you reran your code. Are you seeing any messages in the log, such as:
[pre]
ERROR: File is in use, C:\temp\report.rtf.
[/pre]
One other note: the default style for ODS RTF is the RTF style. You may want to change the PARENT in the BIGLABEL style to be styles.rtf to get your previous output appearance.