Data visualization with SAS programming

Proc Template Waterfallchart, Is it possible to dynamically set color to barlabels based on their value

Reply
New Contributor
Posts: 4

Proc Template Waterfallchart, Is it possible to dynamically set color to barlabels based on their value


Hi,

I am working with Proc template to create some waterfall charts.  I have completed my output, but now the report owner is asking for black barlabels if the value is positive and red barlabels if the value is negative.  I use the rangeattrmap for setting the fill colors of the bars but it does not look like I can set barlabel colors that way.  Any help on this would be great. thanks Nate.

SAS Super FREQ
Posts: 1,044

Re: Proc Template Waterfallchart, Is it possible to dynamically set color to barlabels based on their value

It is easier to suggest if you include SAS version number and code and sample data we can run.

With GTL, you can overlay the Bars with Scatter or Text plot to display the values colored by the same attr map.

Post a Question
Discussion Stats
  • 1 reply
  • 208 views
  • 0 likes
  • 2 in conversation