Data visualization with SAS programming

Display text to the right of a vertical ReferenceLine

Reply
Occasional Contributor
Posts: 16

Display text to the right of a vertical ReferenceLine

Is there a way to force the CurveLabel string to appear to the right of a vertical reference line?
Valued Guide
Posts: 632

Re: Display text to the right of a vertical ReferenceLine

can we assume that you have experimented with curvelabelposition and curvelabellocation already?
Occasional Contributor
Posts: 16

Re: Display text to the right of a vertical ReferenceLine

Yes we can. I suppose an equivalent question would be "Is there a way to force the CurveLabel string to appear below a horizontal reference line?"
SAS Super FREQ
Posts: 1,080

Re: Display text to the right of a vertical ReferenceLine

No, there is no way to force the curve label below the reference line in a general purpose way.

If this is a custom graph, you could create extra X, Y and Label columns with one observation and use a scatter plot as follows. :

scatterplot x=x y=x / markercharacter=label markerattrs=(size=0).

The label will be centered on (x, y). Adjust X and Y to get the label where you want. Turn off the ReferenceLine label.
Ask a Question
Discussion stats
  • 3 replies
  • 157 views
  • 0 likes
  • 3 in conversation