Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Problems with custom graph - line and stacked bar

Reply
Occasional Contributor
Posts: 8

Problems with custom graph - line and stacked bar

Hi,

I need to create the following stacked bar - line graph:

superg.JPG

On the left Y axis, is the value change (in absolute value stacked bars), and on the right Y axis is the %-change in value (Line). All of this is ok, BUT, I need the 0 line to be at the same point for both axes (in the middle). As you can see here, the 0-value is a bit lower on the right Y-axis, and this can quickly be misleading. So is there a way for me to define so that the 0-axis would be the same for both axes?

Greatful for any answers Smiley Happy

Br,

Kia

SAS Employee
Posts: 982

Re: Problems with custom graph - line and stacked bar

Which proc are you using to create your bar-line graph?

(there are a couple of different ways to create bar-lines in SAS, and the answer depends on which you are using)

 

 

SAS Super FREQ
Posts: 296

Re: Problems with custom graph - line and stacked bar

Posted in reply to RobertAllison_SAS
Hi Robert, Kia is using the Graph Builder in SAS Visual Analytics.
Regular Contributor
Posts: 183

Re: Problems with custom graph - line and stacked bar

Kia,

might sound simple, but could you use forced min-max axes values.

so 100/-100 and 20/-20

greetings,  Peter

Ask a Question
Discussion stats
  • 3 replies
  • 490 views
  • 0 likes
  • 4 in conversation