Help using Base SAS procedures

Graph Alignment

Reply
N/A
Posts: 0

Graph Alignment

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.
Super Contributor
Super Contributor
Posts: 3,174

Re: Graph Alignment

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.
PROC Star
Posts: 1,561

Re: Graph Alignment

Format lengths shouldn't move axes, but

[pre]axis1 origin=;[/pre]
should.
N/A
Posts: 0

Re: Graph Alignment

axis origin= does exactly what I want. Thanks
Ask a Question
Discussion stats
  • 3 replies
  • 117 views
  • 0 likes
  • 3 in conversation