The SAS Output Delivery System and reporting techniques

Conditionally formatting needles or bands?

Reply
Contributor
Posts: 21

Conditionally formatting needles or bands?

I have data which is recorded over time.   I've been using NEEDLE charts,  I wasn't sure about BAND but it now looks like I could possibly use that instead.   I need the needle or band to be a different color for each shift, so that it is visually possible to differentiate the shift the data is f

The dataset has a SHIFT variable, a TIMESTMP variable which has the start time of the interval when the measurement was taken, and the measurement. 

I've read about attribute datasets, which seems like what I need for this - but would I need to create an entry for each TIMESTMP and use TIMESTMP as the ATTRID?   Can I use SHIFT as the ATTRID instead, even though it's not in the chart?

Contributor
Posts: 21

Re: Conditionally formatting needles or bands?

I should add that I had "okay" results by splitting the measurement variable into pieces, and setting one of the pieces to the value and the other to missing, then plotting all the variables on the same graph with different color attributes.   That worked for NEEDLE but not for BAND which stretched the bands across the intervals with missing values.

Super User
Posts: 11,343

Re: Conditionally formatting needles or bands?

Can you post an image of what this should look like?

Contributor
Posts: 21

Re: Conditionally formatting needles or bands?

This is it done with the splitting technique and NEEDLE chart...  I removed the 4-hour average SERIES to make this look clearer I think it would look better with BAND, maybeMSU Chart

Super User
Posts: 11,343

Re: Conditionally formatting needles or bands?

I get a communications error trying to view the example. By any chance is the lin to an intranet that's restricted?

Contributor
Posts: 21

Re: Conditionally formatting needles or bands?

I didn't realize that would create a link. Uploading it this time.Sample_ Chart.png

Ask a Question
Discussion stats
  • 5 replies
  • 476 views
  • 0 likes
  • 2 in conversation