BookmarkSubscribeRSS Feed
iznally
Calcite | Level 5

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!

3 REPLIES 3
GraphGuy
Meteorite | Level 14

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

iznally
Calcite | Level 5

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?

BenthamLEE
Calcite | Level 5

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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1328 views
  • 0 likes
  • 3 in conversation