This seems to be a bug, but I am unable to include a hyphen (to indicate a numerical range) in a legend label, e.g.
stcurve , cif at1(cfs14=1) at2(cfs14=2) at3(cfs14=3) at4(cfs14=4) ///
tit("") name("crr_cfs14", replace) ///
xtit("ICU Hours") xlab(0(72)288) ///
ytit("Cumulative Discharge from ICU") ///
lp(solid solid solid solid) ///
lc(purple green orange red) ///
leg(order(1 "CFS:1-2" 2 "CFS:3-4" 3 "CFS:5-6" 4 "CFS:7-8") ///
col(2) size(small) ring(0) pos(4) symx(*.5))
Returns:
2" 2 "CFS:3 invalid name
r(198);
If I remove, or replace the hyphen with any other alpha-numeric char, there is no issue.

Any advice would be appreciated!
Mark

PS: Stata/MP8 16.1, Windows 10 Pro 64 v20H2, Xeon W-2145