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

Dual Line Graphs Scales

Reply
Learner
Posts: 1

Dual Line Graphs Scales

When I am trying to create a Dual Line Graph in SAS VA, by default the scales of the two different graphs are adjusted according to the individual line. So in the same graph the scale for one line is different from the other graph. This necessarily means that same height of the two lines does not mean same value.

 

I want to know if it is possible to set same scale for both the graphs in SAS VA. Thanks in Advance

Contributor
Posts: 55

Re: Dual Line Graphs Scales

[ Edited ]

Hi ggwp,

 

To my best knowledge it is not possible to synchronize Y-axes using a simple property in SAS VA 7

 

I thought of a workaround adding shared min and max values as extra vars in the data preparation. You can show these min/max values as extra lines in a newly created custom graph. Use background colours for these min/max lines to hide them.

 

Cheers, Frank

 

 

Occasional Contributor
Posts: 7

Re: Dual Line Graphs Scales

I have the exact same issue - Want to both axis to have the same scale!

Is there any solution to this problem yet??

 

Thanks!


//David

SAS Super FREQ
Posts: 590

Re: Dual Line Graphs Scales

Posted in reply to daviddavid

On the Properties tab, there is a min and max setting for the Y and X axis. Did you try setting both to be the same fixed values?

 

Region Capture.jpg

Contributor
Posts: 55

Re: Dual Line Graphs Scales

[ Edited ]
Posted in reply to Madelyn_SAS

Setting fixed maximum on Y-axis in both graphs may solve this issue in short-term. When ranges change over time you might have to change those fixed values. My 'solution' above is dynamically setting ranges to the max values from the data.

Occasional Contributor
Posts: 7

Re: Dual Line Graphs Scales

Posted in reply to Madelyn_SAS

Thanks, the problem with that method is that the Max value then isn't dynamic!

Ask a Question
Discussion stats
  • 5 replies
  • 434 views
  • 1 like
  • 4 in conversation