Data visualization with SAS programming

add a value to a point in the line %sgdesign

Regular Contributor
Posts: 163

add a value to a point in the line %sgdesign


I've done this using %sgdesign: where I want to have the values be displayed in a line graph. But now, I can't seem to find that GUI option. I see how I can change the markers ( Plot Properties->Plots) but to display its value at hat marker?

Posts: 1,227

Re: add a value to a point in the line %sgdesign

The Scatter plot has a DataLabel role in the "Assign Data" that you can use to display a value in the graph.  Series plot does not have this, but you can overlay the scatter plot on top of the series plot and use this feature.  You can set the scatter marker size to Zero.  If you want to see the value "exactly" at the center of the location, you can with SAS 9.3.  In Plot Properties, "Data Label" tab, set the Position to 'Center'.

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation