BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am creating a number of gif files from GCHART that are displayed stacked one above another on a web page. That works fine except the location of the Y axis shifts closer or farther from the left side of the graphic depending on the size of the values displayed on axis.
Is there a way to specify an offset for the axis? I have tried HORIGIN but it just makes the graph smaller.
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
A question to ask: do you have a consistent (and explicitly named) output FORMAT defined for the y-axis variable for all charts and their charted data? A CONTENTS list will reveal the answer.

Scott Barry
SBBWorks, Inc.
ChrisNZ
Tourmaline | Level 20
Format lengths shouldn't move axes, but

[pre]axis1 origin=;[/pre]
should.
deleted_user
Not applicable
axis origin= does exactly what I want. Thanks

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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