Data visualization with SAS programming

Polyline annotation line thickness

Reply
Occasional Contributor
Posts: 8

Polyline annotation line thickness

Hi all,

I'm stucked with the line thickness of polylines (annotate functions polyline and polycont). There seem to be just the choice between extremely thin (size=1) and thick (size=2). Using decimal values doesn't return an error, but has no effect either. As per the online documentation these are pixel values and the unit cannot be changed. But the line with size 2 is definitely more than two pixels thick...?

I'm using this function to accentuate particular state borders on my map.

Thanks in advance for any advice!

SAS Employee
Posts: 963

Re: Polyline annotation line thickness

I usually go with lighter & darker colors for the 2 borders, rather than thin/thicker lines.

Here's an example from my book:

http://robslink.com/SAS/book/example12.htm

http://robslink.com/SAS/book/example12_info.htm

Occasional Contributor
Posts: 8

Re: Polyline annotation line thickness

Thanks Robert! Yes thats a possibility, but I would really like to keep them in the same color - there's no option for a more differentiated size setting?

Occasional Contributor
Posts: 9

Re: Polyline annotation line thickness

We can adjust thin/thickness of the polygon annotation or polyline annotation when we call and program the annotation creating component by adjusting the methods of  ”fill As AnnotationBrush, shadow As AnnotationBrush, shadowX As Single, shadowY As Single“. By the way, annotation line or shadow color also are adjustable.

Post a Question
Discussion Stats
  • 3 replies
  • 368 views
  • 0 likes
  • 3 in conversation